Skip to content

Commit

Permalink
fix: nginx conf redirect for spa
Browse files Browse the repository at this point in the history
- Add directory to direct to index.html
- Add root index.html otherwise
  • Loading branch information
macite committed Jan 29, 2025
1 parent 1935310 commit 95c0ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ http {
add_header Permissions-Policy "microphone=(self),speaker=(self),fullscreen=(self),payment=(none)" always;

location / {
try_files $uri index.html;
try_files $uri $uri/ /index.html;
}
}

Expand Down

0 comments on commit 95c0ca9

Please sign in to comment.