synapse/metrics: divert requests to the right worker
This commit is contained in:
parent
970afe943d
commit
71689f9646
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ server {
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_pass http://synapse-worker-generic:9000;
|
proxy_pass http://synapse-worker-sync:9000;
|
||||||
|
|
||||||
allow 10.161.228.115;
|
allow 10.161.228.115;
|
||||||
allow 10.161.228.116;
|
allow 10.161.228.116;
|
||||||
|
@ -100,7 +100,7 @@ server {
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_pass http://synapse-worker-generic:9000;
|
proxy_pass http://synapse-worker-federation:9000;
|
||||||
|
|
||||||
allow 10.161.228.115;
|
allow 10.161.228.115;
|
||||||
allow 10.161.228.116;
|
allow 10.161.228.116;
|
||||||
|
|
Loading…
Reference in a new issue