[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-10-08 22:05:49
This commit is contained in:
parent
cefe5400cb
commit
8cdb4f55b5
|
|
@ -73,15 +73,7 @@ server {
|
||||||
error_page 403 /403.html;
|
error_page 403 /403.html;
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
||||||
error_page 500 502 503 504 /50x.html;
|
error_page 500 502 503 504 /50x.html;
|
||||||
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
|
|
||||||
allow 172.16.254.11;
|
|
||||||
deny all; # Bloqueia todos os outros
|
|
||||||
}
|
|
||||||
# --- Bloco 7: Lógica para Servir as Páginas de Erro de Forma Segura ---
|
# --- Bloco 7: Lógica para Servir as Páginas de Erro de Forma Segura ---
|
||||||
location = /403.html {
|
location = /403.html {
|
||||||
internal;
|
internal;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue