From b0e4d511455f04f70dd0e9be8722af3cf35f3b03 Mon Sep 17 00:00:00 2001 From: cabbagec Date: Wed, 18 Mar 2026 03:29:01 +0800 Subject: [PATCH] try to fix nginx alias path for deployment --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 6d428e4..9827229 100644 --- a/nginx.conf +++ b/nginx.conf @@ -22,7 +22,7 @@ location = /s { # --- Serve frontend index.html at /s/ --- location = /s/ { - alias /root/repo/urlshortener/static/index.html; + alias /root/repo/urlshortener/static/; } # --- Serve frontend static assets (CSS, JS, etc.) ---