summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-02-21 18:24:49 +0100
committerRory& <root@rory.gay>2025-02-21 18:24:49 +0100
commit01e94df4803ab748e0158fd392424305d2d67885 (patch)
tree6e65e286c11df3f7d0c63a92de645545f0576c0d /host
parentHSE localhost (diff)
downloadRory-Open-Architecture-01e94df4803ab748e0158fd392424305d2d67885.tar.xz
Add HSE domain on laptop
Diffstat (limited to 'host')
-rwxr-xr-xhost/Rory-laptop/nginx/hse.localhost.nix30
1 files changed, 15 insertions, 15 deletions
diff --git a/host/Rory-laptop/nginx/hse.localhost.nix b/host/Rory-laptop/nginx/hse.localhost.nix

index b3b148f..5812b02 100755 --- a/host/Rory-laptop/nginx/hse.localhost.nix +++ b/host/Rory-laptop/nginx/hse.localhost.nix
@@ -27,21 +27,21 @@ ''; }; - locations."= /.well-known/matrix/server".extraConfig = '' - more_set_headers 'Content-Type application/json'; - more_set_headers 'Access-Control-Allow-Origin *'; - return 200 '${builtins.toJSON { "m.server" = "hse.localhost:5298"; }}'; - ''; - locations."= /.well-known/matrix/client".extraConfig = '' - more_set_headers 'Content-Type application/json'; - more_set_headers 'Access-Control-Allow-Origin *'; - return 200 '${ - builtins.toJSON { - "m.homeserver".base_url = "http://hse.localhost:5298"; - "org.matrix.msc3575.proxy".url = "https://matrix.rory.gay"; - } - }'; - ''; +# locations."= /.well-known/matrix/server".extraConfig = '' +# more_set_headers 'Content-Type application/json'; +# more_set_headers 'Access-Control-Allow-Origin *'; +# return 200 '${builtins.toJSON { "m.server" = "hse.localhost:5298"; }}'; +# ''; +# locations."= /.well-known/matrix/client".extraConfig = '' +# more_set_headers 'Content-Type application/json'; +# more_set_headers 'Access-Control-Allow-Origin *'; +# return 200 '${ +# builtins.toJSON { +# "m.homeserver".base_url = "http://hse.localhost:5298"; +# "org.matrix.msc3575.proxy".url = "https://matrix.rory.gay"; +# } +# }'; +# ''; locations."= /.well-known/matrix/support".extraConfig = '' more_set_headers 'Content-Type application/json'; more_set_headers 'Access-Control-Allow-Origin *';