summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-01 16:38:58 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-01 16:38:58 +0200
commit1b0c5e33c6b12334d3d0616278b79b0c139b780d (patch)
tree886d890f89f21d7fc61fd528c7d9fc16bf92c587
parentFix nginx (diff)
downloadRory-Open-Architecture-1b0c5e33c6b12334d3d0616278b79b0c139b780d.tar.xz
Always serve index.html by default
-rwxr-xr-xhost/Rory-nginx/hosts/rory.gay/matrix.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/Rory-nginx/hosts/rory.gay/matrix.nix b/host/Rory-nginx/hosts/rory.gay/matrix.nix
index 26507fc..56f769b 100755
--- a/host/Rory-nginx/hosts/rory.gay/matrix.nix
+++ b/host/Rory-nginx/hosts/rory.gay/matrix.nix
@@ -19,6 +19,7 @@
         add_header 'Content-Length' 0;
         return 204;
       }
+      try_files $uri $uri/ /index.html;
     '';
   };
   locations."/_synapse/client".proxyPass = "http://192.168.1.5:8008";