summaryrefslogtreecommitdiff
path: root/config/services/web/quentin/default.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-23 17:12:47 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-23 17:12:47 +0100
commit08200d99fd2bc3a3c8ca1e490e5341d3aa01f232 (patch)
tree58cd532e396b10be94ca3ddd82dac81628ad5fd4 /config/services/web/quentin/default.nix
parent704a01088c83b35263475c40feff92c5d2b4b2b0 (diff)
web: quentin: set Cache-Control to no-cache
Diffstat (limited to 'config/services/web/quentin/default.nix')
-rw-r--r--config/services/web/quentin/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/services/web/quentin/default.nix b/config/services/web/quentin/default.nix
index f68e71c..5e76d79 100644
--- a/config/services/web/quentin/default.nix
+++ b/config/services/web/quentin/default.nix
@@ -9,6 +9,9 @@
}}";
forceSSL = true;
enableACME = true;
+ extraConfig = ''
+ add_header Cache-Control no-cache;
+ '';
};
# automatically fetch (non-structural) website updates when updating the system