diff options
-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 = '' |