This commit is contained in:
admin
2026-01-22 22:37:02 +09:00
parent 50e534094d
commit 1868591704
4 changed files with 28 additions and 9 deletions

View File

@@ -7,7 +7,9 @@ server {
# Serve static files
location / {
try_files $uri $uri/ =404;
# Try to serve the exact file, then directory, otherwise fall back to index.html
# This ensures accessing / or any SPA route returns /index.html
try_files $uri $uri/ /index.html;
}
# Proxy API requests to backend container