diff options
Diffstat (limited to 'Biz/Cloud/Web.nix')
-rw-r--r-- | Biz/Cloud/Web.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Biz/Cloud/Web.nix b/Biz/Cloud/Web.nix index fbe4e03..442024e 100644 --- a/Biz/Cloud/Web.nix +++ b/Biz/Cloud/Web.nix @@ -69,12 +69,13 @@ in # the nginx/cgit module puts a '/' at the end of 'location', so we need to # redirect '/git' to '/git/' "/git".return = "301 https://$host/git/"; - "/" = { - root = "/var/web/simatime.com"; - extraConfig = '' - autoindex on; - ''; - }; + # disabled for nixpert test + #"/" = { + # root = "/var/web/simatime.com"; + # extraConfig = '' + # autoindex on; + # ''; + #}; # serve /~$USER paths "~ ^/~(.+?)(/.*)?$" = { alias = "/var/web/$1$2"; |