diff --git a/roles/webgateway/templates/nginx.conf b/roles/webgateway/templates/nginx.conf index 0d6243b..4ba312c 100644 --- a/roles/webgateway/templates/nginx.conf +++ b/roles/webgateway/templates/nginx.conf @@ -83,6 +83,11 @@ http { proxy_pass https://{{ proxysite.ip }}; proxy_ssl_verify off; } + location /metrics{ + proxy_pass https://{{ proxysite.ip }}; + allow 192.168.69.0/24; + deny all; + } } {% endfor %}