fix(services/synapse): change proxyPass
Some checks failed
Nix CI / build (push) Failing after 42m16s
Some checks failed
Nix CI / build (push) Failing after 42m16s
This commit is contained in:
parent
9d9060d68d
commit
cb0a9c279a
1 changed files with 2 additions and 1 deletions
|
|
@ -24,8 +24,9 @@ in
|
||||||
locations = {
|
locations = {
|
||||||
"= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
|
"= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
|
||||||
"= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
|
"= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
|
||||||
|
"^~ /_synapse/client".proxyPass = "http://[::1]:${toString cfg.port}";
|
||||||
"^~ /_matrix" = {
|
"^~ /_matrix" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
proxyPass = "http://[::1]:${toString cfg.port}";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
limit_req zone=matrix burst=100 nodelay;
|
limit_req zone=matrix burst=100 nodelay;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue