summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-07-23 15:28:58 -0400
committercyfraeviolae <cyfraeviolae>2024-07-23 15:28:58 -0400
commit42c7b72b27eaf6ab612fe3f8d1cb54ced3e64b0b (patch)
tree9a265f384b0341e51ca592bacd86210254d84bdf
parenta29ead5343a8ac9b29ace24c5b2e066db52f951a (diff)
cache for allHEADmaster
-rw-r--r--cyfraeviolae.conf12
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";
# }
# }