Nginx: Fix bad favicon on login and editor
This commit is contained in:
parent
94305a009c
commit
443bd12881
@ -146,6 +146,10 @@ server {
|
||||
location /doceditor {
|
||||
proxy_pass http://127.0.0.1:5013;
|
||||
proxy_redirect off;
|
||||
|
||||
location ~* /static/favicon.ico {
|
||||
try_files /$basename /index.html =404;
|
||||
}
|
||||
|
||||
location ~* /static/images/(.*)$ {
|
||||
try_files /images/$1 /index.html =404;
|
||||
@ -158,7 +162,11 @@ server {
|
||||
|
||||
location /login {
|
||||
proxy_pass http://127.0.0.1:5011;
|
||||
proxy_redirect off;
|
||||
proxy_redirect off;
|
||||
|
||||
location ~* /static/favicon.ico {
|
||||
try_files /$basename /index.html =404;
|
||||
}
|
||||
|
||||
location ~* /static/images/(.*)$ {
|
||||
try_files /images/$1 /index.html =404;
|
||||
@ -167,7 +175,7 @@ server {
|
||||
location ~* /static/fonts/ {
|
||||
try_files /fonts/$basename /index.html =404;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
location /sockjs-node {
|
||||
proxy_pass http://127.0.0.1:5001;
|
||||
|
Loading…
Reference in New Issue
Block a user