diff options
author | cyfraeviolae <cyfraeviolae> | 2024-07-23 15:28:58 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-07-23 15:28:58 -0400 |
commit | 42c7b72b27eaf6ab612fe3f8d1cb54ced3e64b0b (patch) | |
tree | 9a265f384b0341e51ca592bacd86210254d84bdf | |
parent | a29ead5343a8ac9b29ace24c5b2e066db52f951a (diff) |
-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"; # } # } |