1 files changed, 16 insertions, 16 deletions
diff --git a/host/Rory-laptop/nginx/hse.localhost.nix b/host/Rory-laptop/nginx/hse.localhost.nix
index 5812b02..c3c1731 100755
--- a/host/Rory-laptop/nginx/hse.localhost.nix
+++ b/host/Rory-laptop/nginx/hse.localhost.nix
@@ -1,4 +1,4 @@
-{pkgs, ...}:
+{ pkgs, ... }:
{
enableACME = false;
addSSL = true;
@@ -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 *';
|