try to fix nginx alias path for deployment

This commit is contained in:
2026-03-18 03:29:01 +08:00
parent 7d0afa9284
commit b0e4d51145
+1 -1
View File
@@ -22,7 +22,7 @@ location = /s {
# --- Serve frontend index.html at /s/ --- # --- Serve frontend index.html at /s/ ---
location = /s/ { location = /s/ {
alias /root/repo/urlshortener/static/index.html; alias /root/repo/urlshortener/static/;
} }
# --- Serve frontend static assets (CSS, JS, etc.) --- # --- Serve frontend static assets (CSS, JS, etc.) ---