disable dubble tls
This commit is contained in:
parent
cd4ebfb807
commit
4eb4b439d0
2 changed files with 19 additions and 9 deletions
19
matrix.nix
19
matrix.nix
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
let
|
||||
domain = "sondell.org";
|
||||
matrixAdress = "m.${domain}";
|
||||
hostName = "matrix";
|
||||
fqdn = "${hostName}.${domain}";
|
||||
baseUrl = "https://${fqdn}";
|
||||
|
|
@ -64,23 +65,23 @@ services.postgresql = {
|
|||
locations."/_synapse/client".proxyPass = "http://[::1]:8008";
|
||||
};
|
||||
|
||||
# ${domain} = {
|
||||
# # enableACME = true;
|
||||
# # forceSSL = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://localhost:8008";
|
||||
# };
|
||||
${matrixAdress} = {
|
||||
# enableACME = true;
|
||||
# forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8008";
|
||||
};
|
||||
# # This section is not needed if the server_name of matrix-synapse is equal to
|
||||
# # the domain (i.e. example.org from @foo:example.org) and the federation port
|
||||
# # is 8448.
|
||||
# # Further reference can be found in the docs about delegation under
|
||||
# # https://element-hq.github.io/synapse/latest/delegate.html
|
||||
# locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
|
||||
locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
|
||||
# # This is usually needed for homeserver discovery (from e.g. other Matrix clients).
|
||||
# # Further reference can be found in the upstream docs at
|
||||
# # https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient
|
||||
# locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
|
||||
# };
|
||||
locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue