diff options
Diffstat (limited to 'host/software/server/website.nix')
-rw-r--r-- | host/software/server/website.nix | 14 |
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; + } + ''; + }; }; } |