summaryrefslogtreecommitdiff
path: root/host/software/server
diff options
context:
space:
mode:
Diffstat (limited to 'host/software/server')
-rw-r--r--host/software/server/website.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/host/software/server/website.nix b/host/software/server/website.nix
index 0a72e47..a5f65fb 100644
--- a/host/software/server/website.nix
+++ b/host/software/server/website.nix
@@ -52,6 +52,18 @@
"/nixexprs.tar.bz2" = proxy "http://code.kummerlaender.eu/pkgs/snapshot/master.tar.bz2";
};
- "literatelb.org" = website "literatelb";
+ "literatelb.org" = let
+ sub = "literatelb";
+ in default {
+ "/".root = "/home/public/${sub}/result";
+ "/".extraConfig = ''
+ location ~* \.(?:html?|xml)$ {
+ expires -1;
+ }
+ location /tangle/ {
+ autoindex on;
+ }
+ '';
+ };
};
}