summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rwxr-xr-xhost/Rory-nginx/hosts/rory.gay/matrix.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/Rory-nginx/hosts/rory.gay/matrix.nix b/host/Rory-nginx/hosts/rory.gay/matrix.nix
index 56f769b..1bc038e 100755
--- a/host/Rory-nginx/hosts/rory.gay/matrix.nix
+++ b/host/Rory-nginx/hosts/rory.gay/matrix.nix
@@ -19,7 +19,8 @@
         add_header 'Content-Length' 0;
         return 204;
       }
-      try_files $uri $uri/ /index.html;
+      # default to /index.html if file not found
+      try_files $uri $uri/ index.html;
     '';
   };
   locations."/_synapse/client".proxyPass = "http://192.168.1.5:8008";