feat: add back matrix test domain #63

Merged
b12f merged 3 commits from feat/add-back-matrix-test-domain into main 2023-11-18 21:33:40 +00:00
Showing only changes of commit c88a0608f6 - Show all commits

View file

@ -25,7 +25,7 @@ let
];
};
};
wellKnownServer = domain: { "m.server" = "${domain}:8448"; };
wellKnownServer = domain: { "m.server" = "matrix.${domain}:8448"; };
mkWellKnown = data: ''
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin *;
@ -50,6 +50,14 @@ in
#######################################
# Stuff below is still in betatesting #
#######################################
"test.pub.solar" = {
root = "/dev/null";
forceSSL = lib.mkDefault true;
enableACME = lib.mkDefault true;
locations = (wellKnownLocations "test.pub.solar");
};
"chat.test.pub.solar" = {
forceSSL = true;
@ -70,7 +78,7 @@ in
gzip on;
gzip_types text/plain application/json;
'';
locations = (wellKnownLocations "test.pub.solar") // {
locations = {
# TODO: Configure metrics
# "/metrics" = {
# };