diff --git a/nginx.conf b/nginx.conf index 7afeaac..765e9e2 100644 --- a/nginx.conf +++ b/nginx.conf @@ -30,8 +30,7 @@ location = /s/ { # ^~ ensures this takes priority over the general /s/ proxy below. location ^~ /s/static/ { alias /root/repo/urlshortener/static/; - expires 7d; - add_header Cache-Control "public, immutable"; + add_header Cache-Control "no-cache"; } # --- Proxy everything else under /s/ to the Python backend ---