summary refs log tree commit diff
path: root/host/Rory-nginx/hosts
diff options
context:
space:
mode:
authorRory&::Emma <root@rory.gay>2023-08-06 23:49:43 +0000
committerRory&::Emma <root@rory.gay>2023-08-06 23:49:43 +0000
commit15cc356317a7771d26755b367dc58b2d2f7829e6 (patch)
tree2f7aa5ed1247c689a62025be644b455efadbdecc /host/Rory-nginx/hosts
parentSynapse funkery (diff)
downloadRory-Open-Architecture-15cc356317a7771d26755b367dc58b2d2f7829e6.tar.xz
Update stuff
Diffstat (limited to 'host/Rory-nginx/hosts')
-rwxr-xr-xhost/Rory-nginx/hosts/rory.gay/matrix.nix5
-rwxr-xr-xhost/Rory-nginx/hosts/thearcanebrony.net/root.nix6
2 files changed, 9 insertions, 2 deletions
diff --git a/host/Rory-nginx/hosts/rory.gay/matrix.nix b/host/Rory-nginx/hosts/rory.gay/matrix.nix
index 60a8e2c..46514a2 100755
--- a/host/Rory-nginx/hosts/rory.gay/matrix.nix
+++ b/host/Rory-nginx/hosts/rory.gay/matrix.nix
@@ -25,6 +25,11 @@
   		# https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
 	locations."~ ^/_matrix/client/(r0|v3)/sync$" = {
 		proxyPass = "http://generic_workers_upstream$request_uri";
+                extraConfig = ''
+                     proxy_read_timeout 300;
+                     proxy_connect_timeout 300;
+                     proxy_send_timeout 300; 
+                  '';
 	};
 	locations."~ ^/_matrix/client/(api/v1|r0|v3)/events$" = {
 		proxyPass = "http://generic_workers_upstream$request_uri";
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
index 722e989..bd23f10 100755
--- a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
@@ -2,9 +2,11 @@
   enableACME = true;
   addSSL = true;
   root = "/data/nginx/html_thearcanebrony";
+  extraConfig = ''
+    autoindex on;'';
   locations = {
     "/" = {
-      index = "index.html";
+      #index = "index.html";
     };
     "/destroy" = {
       return = "301 https://gitlab.com/KinoshitaProductions/SecureDestroyer/-/raw/master/run";
@@ -35,4 +37,4 @@
     }';
   ''; 
   };
-}
\ No newline at end of file
+}