From a9c77aa380cc59a00cea816a7cfb0b532d51d592 Mon Sep 17 00:00:00 2001 From: "srvproxy001.itguys.com.br" Date: Wed, 8 Oct 2025 22:09:49 -0300 Subject: [PATCH] =?UTF-8?q?[Auto-Sync]=20Atualiza=C3=A7=C3=A3o=20das=20con?= =?UTF-8?q?figura=C3=A7=C3=B5es=20em=20srvproxy001.itguys.com.br=20-=20202?= =?UTF-8?q?5-10-08=2022:09:49?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/sites-available/default-catchall.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nginx/sites-available/default-catchall.conf b/nginx/sites-available/default-catchall.conf index 7cacc23..0080493 100644 --- a/nginx/sites-available/default-catchall.conf +++ b/nginx/sites-available/default-catchall.conf @@ -71,6 +71,15 @@ server { root /var/www/html/errors; # --- Bloco 6: Mapeamento de Códigos de Erro para Páginas Personalizadas --- + location = /nginx_status { + stub_status; + + # --- Segurança (removi a linha duplicada para limpeza) --- + allow 127.0.0.1; # Acesso local (localhost) + allow 172.16.254.1; # Permite o próprio servidor / Zabbix + deny all; # Bloqueia todos os outros + } + error_page 403 /403.html; error_page 404 /404.html; error_page 500 502 503 504 /50x.html;