Config: fix nginx
This commit is contained in:
parent
a2f371d197
commit
babd83dc2c
@ -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>[^/]+) {
|
||||
|
Loading…
Reference in New Issue
Block a user