aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/arrakis')
-rw-r--r--hosts/arrakis/services.nix9
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";
};
};
};