Fix nginx: add proper SPA fallback with try_files and compression
This commit is contained in:
parent
da9b8224b4
commit
785b2049b9
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ server {
|
|||
|
||||
# Serve static assets
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
|
||||
# Gzip compression
|
||||
|
|
|
|||
Loading…
Reference in a new issue