summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-06-28 11:12:31 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-06-28 11:12:31 +0200
commitc8a524aeb8e7ab30753b956255855d831d5a5a14 (patch)
tree8689598c59137e56dec63d7ac50d6f6dc135327e /host
parentSwitch to headers_more (diff)
downloadRory-Open-Architecture-c8a524aeb8e7ab30753b956255855d831d5a5a14.tar.xz
Qoutes
Diffstat (limited to 'host')
-rwxr-xr-xhost/Rory-nginx/hosts/rory.gay/root.nix12
-rwxr-xr-xhost/Rory-nginx/hosts/thearcanebrony.net/root.nix4
2 files changed, 8 insertions, 8 deletions
diff --git a/host/Rory-nginx/hosts/rory.gay/root.nix b/host/Rory-nginx/hosts/rory.gay/root.nix
index 40e9c3d..be4b415 100755
--- a/host/Rory-nginx/hosts/rory.gay/root.nix
+++ b/host/Rory-nginx/hosts/rory.gay/root.nix
@@ -6,15 +6,15 @@
     autoindex on;'';
 
   locations."= /.well-known/matrix/server".extraConfig = ''
-    more_set_headers Content-Type application/json;
-    more_set_headers Access-Control-Allow-Origin *;
+    more_set_headers 'Content-Type application/json';
+    more_set_headers 'Access-Control-Allow-Origin *';
     return 200 '${builtins.toJSON {
       "m.server" = "matrix.rory.gay:443";
     }}';
   ''; 
   locations."= /.well-known/matrix/client".extraConfig = ''
-    more_set_headers Content-Type application/json;
-    more_set_headers Access-Control-Allow-Origin *;
+    more_set_headers 'Content-Type application/json';
+    more_set_headers 'Access-Control-Allow-Origin *';
     return 200 '${builtins.toJSON {
       "m.homeserver".base_url = "https://matrix.rory.gay";
       "m.identity_server".base_url = "https://matrix.rory.gay";
@@ -22,8 +22,8 @@
     }';
   ''; 
   locations."= /.well-known/matrix/support".extraConfig = ''
-    more_set_headers Content-Type application/json;
-    more_set_headers Access-Control-Allow-Origin *;
+    more_set_headers 'Content-Type application/json';
+    more_set_headers 'Access-Control-Allow-Origin *';
     return 200 '${builtins.toJSON {
       admins = [
         {
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
index 9792092..722e989 100755
--- a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
+++ b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
@@ -10,8 +10,8 @@
       return = "301 https://gitlab.com/KinoshitaProductions/SecureDestroyer/-/raw/master/run";
     };
     "= /.well-known/matrix/support".extraConfig = ''
-    more_set_headers Content-Type application/json;
-    more_set_headers Access-Control-Allow-Origin *;
+    more_set_headers 'Content-Type application/json';
+    more_set_headers 'Access-Control-Allow-Origin *';
     return 200 '${builtins.toJSON {
       admins = [
         {