From 92d8ebddd9c6da2b3fe1d7f48d695f68e8a3c4b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 4 Apr 2024 12:12:04 +0200 Subject: [PATCH] Listen only locally for nginx status --- conf/nginx_status.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx_status.conf b/conf/nginx_status.conf index e8b9267..fa424a9 100644 --- a/conf/nginx_status.conf +++ b/conf/nginx_status.conf @@ -1,6 +1,6 @@ server { - listen {{ port_nginx_status }}; - listen [::]:{{ port_nginx_status }}; + listen 127.0.0.1:{{ port_nginx_status }}; + listen [::1]:{{ port_nginx_status }}; access_log /var/log/nginx/localhost-nginx_status_monitorix.lan-access.log; error_log /var/log/nginx/localhost-nginx_status_monitorix.lan-error.log;