From c8a524aeb8e7ab30753b956255855d831d5a5a14 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Wed, 28 Jun 2023 11:12:31 +0200 Subject: Qoutes --- host/Rory-nginx/hosts/rory.gay/root.nix | 12 ++++++------ 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 = [ { -- cgit 1.4.1