diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-12-01 14:14:33 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-12-01 14:14:33 -0500 |
commit | f0e34d575b8a320dfd600fc064064f3b90be85bc (patch) | |
tree | f0f6ac71aceb090811b5e7d8252f1e7f405a0dd6 | |
parent | a5387445a612e0edf58c60e5ba3ad2acc02b25d3 (diff) |
update kj.orbekk.com config
-rw-r--r-- | config/web-server.nix | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/config/web-server.nix b/config/web-server.nix index ffeb9e9..1a09d88 100644 --- a/config/web-server.nix +++ b/config/web-server.nix @@ -64,18 +64,10 @@ in { }; "wifi.orbekk.no" = template // { root = "/storage/srv/wifi.orbekk.com"; }; "kj.orbekk.com" = template // { - root = "/home/orbekk/www-public"; - locations."/" = { - extraConfig = '' - try_files $uri @storage; - # kill cache - add_header Last-Modified $date_gmt; - add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; - if_modified_since off; - expires off; - etag off; - ''; - }; + root = "/storage/srv/kj.orbekk.com"; + extraConfig = '' + autoindex on; + ''; locations."/hls" = { extraConfig = '' default_type application/octet-stream; @@ -104,12 +96,6 @@ in { root /storage/srv/kj.orbekk.com/tmp/; ''; }; - locations."@storage" = { - root = "/storage/srv/kj.orbekk.com"; - extraConfig = '' - autoindex on; - ''; - }; # locations."/dav" = { # root = "/storage/srv/kj.orbekk.com"; # extraConfig = '' |