This commit is contained in:
Vivian 2024-10-31 15:39:24 +01:00
parent 448b9e7439
commit c5bc2e1a19
8 changed files with 221 additions and 184 deletions

View file

@ -5,9 +5,9 @@ let
base_url = "https://chat.meowy.tech";
server_name = "meowy.tech";
};
"org.matrix.msc3575.proxy" = {
"url" = "https://sliding-chat.meowy.tech";
};
# "org.matrix.msc3575.proxy" = {
# "url" = "https://sliding-chat.meowy.tech";
# };
};
serverConfig."m.server" = "chat.meowy.tech:443";
mkWellKnown = data: ''
@ -127,7 +127,7 @@ in
return 303 https://element.chat.meowy.tech;
'';
"= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
"= /_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://synapse.olympus:8009";
# "= /_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://synapse.olympus:8009";
"/_matrix".proxyPass = "http://synapse.olympus:8008";
"/_synapse/client".proxyPass = "http://synapse.olympus:8008";
"/_synapse/admin" = {
@ -146,11 +146,11 @@ in
};
};
};
"sliding-chat.meowy.tech" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://synapse.olympus:8009";
};
# "sliding-chat.meowy.tech" = {
# enableACME = true;
# forceSSL = true;
# locations."/".proxyPass = "http://synapse.olympus:8009";
# };
"element.chat.meowy.tech" = {
enableACME = true;
forceSSL = true;