synapse/metrics: divert requests to the right worker

This commit is contained in:
Nico Schottelius 2023-12-20 11:22:00 +01:00
parent 970afe943d
commit 71689f9646

View file

@ -85,7 +85,7 @@ server {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
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.116;
@ -100,7 +100,7 @@ server {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
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.116;