This commit is contained in:
parent
045e1e301f
commit
fb5a3b8093
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ location = /nginx-health {
|
|||
return 204;
|
||||
}
|
||||
|
||||
location ^~ /dist/ {
|
||||
rewrite ^/dist/[^/]+/?(.*)$ /$1 last;
|
||||
}
|
||||
|
||||
location ~* \.(?:css|js|mjs|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ {
|
||||
try_files $uri =404;
|
||||
expires 1y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue