fix nginx alias path for deployment

This commit is contained in:
2026-03-18 04:06:28 +08:00
parent 96c885a465
commit 903fc5024f
+2 -1
View File
@@ -22,7 +22,8 @@ location = /s {
# --- Serve frontend index.html at /s/ ---
location = /s/ {
alias /root/repo/urlshortener/static/;
root /root/repo/urlshortener/static;
try_files /index.html =404;
}
# --- Serve frontend static assets (CSS, JS, etc.) ---