diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-28 11:12:31 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-28 11:12:31 +0200 |
commit | c8a524aeb8e7ab30753b956255855d831d5a5a14 (patch) | |
tree | 8689598c59137e56dec63d7ac50d6f6dc135327e | |
parent | Switch to headers_more (diff) | |
download | Rory-Open-Architecture-c8a524aeb8e7ab30753b956255855d831d5a5a14.tar.xz |
Qoutes
-rwxr-xr-x | host/Rory-nginx/hosts/rory.gay/root.nix | 12 | ||||
-rwxr-xr-x | host/Rory-nginx/hosts/thearcanebrony.net/root.nix | 4 |
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 = [ { |