From 1b0c5e33c6b12334d3d0616278b79b0c139b780d Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 1 May 2023 16:38:58 +0200 Subject: Always serve index.html by default --- host/Rory-nginx/hosts/rory.gay/matrix.nix | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit 1.4.1