Config: fix nginx

This commit is contained in:
Viktor Fomin 2024-04-20 14:57:37 +03:00
parent a2f371d197
commit babd83dc2c

View File

@ -246,19 +246,9 @@ server {
proxy_pass http://127.0.0.1:5015;
proxy_redirect off;
location ~* /static/favicon.ico {
try_files /$basename /index.html =404;
}
location ~* /static/images/(.*)$ {
location ~* /_next/public/images/(.*)$ {
try_files /images/$1 /index.html =404;
}
location ~* /static/fonts/(?<content>[^/]+) {
try_files /fonts/$content/$basename /index.html =404;
}
rewrite management/(.*) /$1 break;
}
location ~* /static/fonts/(?<content>[^/]+) {