fix: add nginx SPA fallback to resolve deck 404 on direct URL access
Deploy Slides / build-and-deploy (push) Successful in 1m50s

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 15:40:52 +08:00
parent cab1397b90
commit 9f35d89961
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ $uri/index.html /index.html;
}
}