Nginx: Fix bad favicon on login and editor

This commit is contained in:
Alexey Safronov 2023-05-30 18:56:29 +04:00
parent 94305a009c
commit 443bd12881

View File

@ -147,6 +147,10 @@ server {
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;
}
@ -160,6 +164,10 @@ server {
proxy_pass http://127.0.0.1:5011;
proxy_redirect off;
location ~* /static/favicon.ico {
try_files /$basename /index.html =404;
}
location ~* /static/images/(.*)$ {
try_files /images/$1 /index.html =404;
}