aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-10 20:51:05 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-10 20:51:05 -0800
commitb0085f62f6560835ecff50b6e1a41b6733bb518f (patch)
tree557d263439a5b643a89d7304f19f73dd37c989b0
parent334817c4315093fb395953c8af5e0a60de67fe66 (diff)
downloadnix-b0085f62f6560835ecff50b6e1a41b6733bb518f.tar
nix-b0085f62f6560835ecff50b6e1a41b6733bb518f.tar.gz
nix-b0085f62f6560835ecff50b6e1a41b6733bb518f.tar.bz2
nix-b0085f62f6560835ecff50b6e1a41b6733bb518f.tar.lz
nix-b0085f62f6560835ecff50b6e1a41b6733bb518f.tar.xz
nix-b0085f62f6560835ecff50b6e1a41b6733bb518f.tar.zst
nix-b0085f62f6560835ecff50b6e1a41b6733bb518f.zip
Fix nginx maybe
-rw-r--r--hosts/arrakis/services.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix
index 6a16e96..400e80c 100644
--- a/hosts/arrakis/services.nix
+++ b/hosts/arrakis/services.nix
@@ -102,10 +102,7 @@
forceSSL = true;
locations = {
"/" = {
- extraConfig = ''
- default_type text/html;
- '';
- return = "200 '<html><body>Hot damn, it works!</body></html>'";
+ tryFiles = "$uri $uri/ =404";
};
"/jellyfin" = {
return = "302 $scheme://$host/jellyfin/";