summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-04-30 20:41:51 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-04-30 20:41:51 +0200
commit61b909f17ae3860486da22ec9b5b64d89a39f8d7 (patch)
tree6bc77655113d0758a24f57378d800fb3030c48ca
parentFix thing (diff)
downloadRory-Open-Architecture-61b909f17ae3860486da22ec9b5b64d89a39f8d7.tar.xz
add thearcanebrony.net support record
-rwxr-xr-xhost/Rory-nginx/hosts/thearcanebrony.net/root.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix

index 50b6bc4..cec51cf 100755 --- a/host/Rory-nginx/hosts/thearcanebrony.net/root.nix +++ b/host/Rory-nginx/hosts/thearcanebrony.net/root.nix
@@ -9,5 +9,30 @@ "/destroy" = { return = "301 https://gitlab.com/KinoshitaProductions/SecureDestroyer/-/raw/master/run"; }; + locations."= /.well-known/matrix/support".extraConfig = '' + add_header Content-Type application/json; + add_header Access-Control-Allow-Origin *; + return 200 '${builtins.toJSON { + admins = [ + { + matrix_id = "@emma:rory.gay"; + role = "admin"; + } + { + matrix_id = "@alicia:rory.gay"; + role = "admin"; + } + { + matrix_id = "@root:rory.gay"; + role = "admin"; + } + { + matrix_id = "@rory:rory.gay"; + role = "admin"; + } + ]; + } + }'; + ''; }; } \ No newline at end of file