From cb34da30f3f699c1fcad71b80426e8d87886a2a5 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 23 Feb 2022 22:37:15 -0500 Subject: Test out nixpert chat service This is rough, I should move it up in the directory hierarchy and clean up the nix files, but that can all come later. Just gonna test it out for now. Will announce it tomorrow afternoon. --- Biz/Cloud/Web.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Biz/Cloud') 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"; -- cgit v1.2.3