summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host/software/server/website.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/software/server/website.nix b/host/software/server/website.nix
index 12cab80..9b2493e 100644
--- a/host/software/server/website.nix
+++ b/host/software/server/website.nix
@@ -18,6 +18,11 @@
website = sub: default {
"/".root = "/home/public/${sub}/result";
+ "/".extraConfig = ''
+ location ~* \.(?:html?|xml)$ {
+ expires -1;
+ }
+ '';
};
proxy = target: {