From 29b2c87e6879ee9fc15dfbf573969027755db62e Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sun, 10 Nov 2024 19:04:32 -0800 Subject: Update nginx location --- hosts/arrakis/services.nix | 9 ++++----- 1 file 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"; }; }; }; -- cgit v1.2.3