diff --git a/nginx.conf b/nginx.conf index 0e613a1..6d428e4 100644 --- a/nginx.conf +++ b/nginx.conf @@ -22,13 +22,13 @@ location = /s { # --- Serve frontend index.html at /s/ --- location = /s/ { - alias /app/static/index.html; + alias /root/repo/urlshortener/static/index.html; } # --- Serve frontend static assets (CSS, JS, etc.) --- # ^~ ensures this takes priority over the general /s/ proxy below. location ^~ /s/static/ { - alias /app/static/; + alias /root/repo/urlshortener/static/; expires 7d; add_header Cache-Control "public, immutable"; }