fix/add-matrix-wellknown #52
|
@ -6,8 +6,8 @@ let
|
|||
add_header X-XSS-Protection "1; mode=block";
|
||||
'';
|
||||
clientConfig = import ./matrix/element-client-config.nix;
|
||||
wellKnownClient."m.homeserver".base_url = "https://matrix.test.pub.solar";
|
||||
wellKnownServer."m.server" = "matrix.test.pub.solar:8448";
|
||||
wellKnownClient."m.homeserver".base_url = "https://matrix.pub.solar";
|
||||
wellKnownServer."m.server" = "matrix.pub.solar:8448";
|
||||
mkWellKnown = data: ''
|
||||
teutat3s marked this conversation as resolved
|
||||
add_header Content-Type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
@ -20,12 +20,7 @@ let
|
|||
in
|
||||
{
|
||||
services.nginx.virtualHosts = {
|
||||
"test.pub.solar" = {
|
||||
root = "/dev/null";
|
||||
|
||||
forceSSL = lib.mkDefault true;
|
||||
enableACME = lib.mkDefault true;
|
||||
|
||||
"pub.solar" = {
|
||||
locations = wellKnownLocations;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue
This breaks federation for the testing domain that @axeman is working on. Can we have an extra nginx vhost for testing and the current matrix homeserver?
I don't see this currently actively being worked on, so I'd rather that gets added/changed in a separate Pr so we get this merged
Okay then @axeman will have to add this back 👍