enable metrics for runa

This commit is contained in:
Nico Schottelius 2023-11-23 12:15:41 +01:00
commit bff5c7557e
2 changed files with 23 additions and 1 deletions

View file

@ -44,6 +44,21 @@ server {
proxy_pass http://synapse-worker-generic:8008;
}
# Metrics to master
location ~ /_synapse/metrics {
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-main:9000;
allow 10.161.228.115;
allow 10.161.228.116;
allow 10.161.228.117;
allow 10.161.228.118;
allow 10.161.228.119;
deny all;
}
# All other matrix/synapse requests go to main
location ~ /_matrix|/_synapse {
proxy_set_header X-Forwarded-For $remote_addr;