aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-10 19:04:32 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-10 19:04:32 -0800
commit29b2c87e6879ee9fc15dfbf573969027755db62e (patch)
tree0fbf46870570a75a3d7be991fc04618e929be8ad
parent6cefd197ff123c57fef5eb4352065808feda912d (diff)
downloadnix-29b2c87e6879ee9fc15dfbf573969027755db62e.tar
nix-29b2c87e6879ee9fc15dfbf573969027755db62e.tar.gz
nix-29b2c87e6879ee9fc15dfbf573969027755db62e.tar.bz2
nix-29b2c87e6879ee9fc15dfbf573969027755db62e.tar.lz
nix-29b2c87e6879ee9fc15dfbf573969027755db62e.tar.xz
nix-29b2c87e6879ee9fc15dfbf573969027755db62e.tar.zst
nix-29b2c87e6879ee9fc15dfbf573969027755db62e.zip
Update nginx location
Diffstat (limited to '')
-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";
};
};
};