Huh...where'd that come from?
This commit is contained in:
parent
2edeb54ab9
commit
5585d9f184
|
@ -49,7 +49,7 @@ in {
|
||||||
hostname = mkOption {
|
hostname = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
description = "Hostname at which the server can be reached.";
|
description = "Hostname at which the server can be reached.";
|
||||||
default = toplevel.config.services.matrixContainer.server-name;
|
default = toplevel.config.services.matrix.server-name;
|
||||||
};
|
};
|
||||||
|
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
|
@ -167,12 +167,12 @@ in {
|
||||||
];
|
];
|
||||||
locations."/".extraConfig = "return 404;";
|
locations."/".extraConfig = "return 404;";
|
||||||
locations."/_matrix" = {
|
locations."/_matrix" = {
|
||||||
proxyPass = "http://localhost:${toString cfg.port}";
|
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
locations."/_synapse/client" = {
|
locations."/_synapse/client" = {
|
||||||
proxyPass = "http://localhost:${toString cfg.port}";
|
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue