diff --git a/etc/nginx.conf b/etc/nginx.conf index b8266f0..cbf860d 100644 --- a/etc/nginx.conf +++ b/etc/nginx.conf @@ -27,13 +27,12 @@ server { } location /static { - expires 1y; - add_header Cache-Control "public, immutable"; + add_header Cache-Control "public, immutable, max-age=31536000"; alias /app/collected-static; } location /media { - expires 1h; + add_header Cache-Control "public, immutable, max-age=3600"; alias /app/media; } }