diff options
-rw-r--r-- | cyfraeviolae.conf | 12 |
1 files changed, 6 insertions, 6 deletions
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"; # } # } |