From 42c7b72b27eaf6ab612fe3f8d1cb54ced3e64b0b Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Tue, 23 Jul 2024 15:28:58 -0400 Subject: cache for all --- cyfraeviolae.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cyfraeviolae.conf') diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf index ec98c7a..72226d8 100644 --- a/cyfraeviolae.conf +++ b/cyfraeviolae.conf @@ -85,14 +85,14 @@ server { location / { root /srv/cyfraeviolae; expires 1h; - add_header Cache-Control "public"; + add_header Cache-Control "public, no-cache"; } error_page 404 /404.html; location = /404.html { root /srv/cyfraeviolae; expires 1h; - add_header Cache-Control "public"; + add_header Cache-Control "public, no-cache"; } } @@ -150,14 +150,14 @@ server { location / { root /srv/aseemslegit; expires 1h; - add_header Cache-Control "public"; + add_header Cache-Control "public, no-cache"; } error_page 404 /index.html; location = /index.html { root /srv/aseemslegit; expires 1h; - add_header Cache-Control "public"; + add_header Cache-Control "public, no-cache"; } # listen 443 ssl; # managed by Certbot @@ -264,14 +264,14 @@ server { # location / { # root /srv/cyfraeviolae; # expires 1h; -# add_header Cache-Control "public"; +# add_header Cache-Control "public, no-cache"; # } # error_page 404 /404.html; # location = /404.html { # root /srv/cyfraeviolae; # expires 1h; -# add_header Cache-Control "public"; +# add_header Cache-Control "public, no-cache"; # } # } -- cgit v1.2.3