diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-05-01 16:38:58 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-05-01 16:38:58 +0200 |
commit | 1b0c5e33c6b12334d3d0616278b79b0c139b780d (patch) | |
tree | 886d890f89f21d7fc61fd528c7d9fc16bf92c587 /host | |
parent | Fix nginx (diff) | |
download | Rory-Open-Architecture-1b0c5e33c6b12334d3d0616278b79b0c139b780d.tar.xz |
Always serve index.html by default
Diffstat (limited to 'host')
-rwxr-xr-x | host/Rory-nginx/hosts/rory.gay/matrix.nix | 1 |
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"; |