synapse ipv6 changes
This commit is contained in:
parent
dabca4fc58
commit
cfca87a703
@ -56,7 +56,11 @@ in
|
||||
listeners = [
|
||||
{
|
||||
inherit (cfg) port;
|
||||
bind_addresses = [ "::1" ];
|
||||
bind_addresses = [
|
||||
config.my.localhost
|
||||
config.my.localhost6
|
||||
"10.77.0.2"
|
||||
];
|
||||
type = "http";
|
||||
tls = false;
|
||||
x_forwarded = true;
|
||||
@ -95,8 +99,8 @@ in
|
||||
"/".extraConfig = ''
|
||||
return 404;
|
||||
'';
|
||||
"/_matrix".proxyPass = "http://[::1]:${toString cfg.port}";
|
||||
"/_synapse/client".proxyPass = "http://[::1]:${toString cfg.port}";
|
||||
"/_matrix".proxyPass = "http://[${config.my.localhost6}]:${toString cfg.port}";
|
||||
"/_synapse/client".proxyPass = "http://[${config.my.localhost6}]:${toString cfg.port}";
|
||||
};
|
||||
# extraConfig = ''
|
||||
# ssl_verify_client on;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user