From 92b53d7177260a80e643c172de3db64f83087e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 29 May 2022 20:36:40 +0200 Subject: [PATCH] restrict on webgateway --- roles/webgateway/templates/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) 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 %}