diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/arrakis/services.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 2cd7f8b..1f97aa2 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -139,12 +139,11 @@ }; "/nipsy" = { - return = "302 $scheme://$host/nipsy/"; - }; - "/nipsy/" = { - index = "index.html"; + extraConfig = '' + autoindex on; + ''; root = "/data/home/nipsy/www"; - tryFiles = "$uri =404"; + tryFiles = "$uri $uri/ =404"; }; }; }; |