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/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 = [
         {