enable metrics for runa
This commit is contained in:
parent
848ff0e4c5
commit
bff5c7557e
2 changed files with 23 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue