Skip to content

Commit

Permalink
fix: SPA static site default nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Nov 15, 2024
1 parent 2737da1 commit 09ec4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/helpers/shared.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 09ec4fd

Please sign in to comment.