fix: SPA static site default nginx conf
This commit is contained in:
parent
2737da10ae
commit
09ec4fdb6d
1 changed files with 1 additions and 1 deletions
|
|
@ -4075,7 +4075,7 @@ function defaultNginxConfiguration(): string
|
|||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/index.html =404;
|
||||
try_files $uri $uri.html $uri/index.html $uri/index.htm $uri/ /index.html /index.htm =404;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
|
|
|
|||
Loading…
Reference in a new issue