Nginx: fix config for doceditor
This commit is contained in:
parent
05f08a5a9c
commit
6e3e495aeb
@ -204,21 +204,9 @@ server {
|
|||||||
proxy_pass http://127.0.0.1:5013;
|
proxy_pass http://127.0.0.1:5013;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
|
||||||
#location ~* /static/favicon.ico {
|
|
||||||
# try_files /$basename /index.html =404;
|
|
||||||
#}
|
|
||||||
|
|
||||||
location ~* /_next/public/images/(.*)$ {
|
location ~* /_next/public/images/(.*)$ {
|
||||||
try_files /images/$1 /index.html =404;
|
try_files /images/$1 /index.html =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
#location ~* /static/css/ {
|
|
||||||
# try_files /css/$basename /index.html =404;
|
|
||||||
#}
|
|
||||||
|
|
||||||
#location ~* /static/fonts/(?<content>[^/]+) {
|
|
||||||
# try_files /fonts/$content/$basename /index.html =404;
|
|
||||||
#}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /login {
|
location /login {
|
||||||
|
Loading…
Reference in New Issue
Block a user