diff --git a/nginx/sites-available/monitoramento.itguys.com.br.conf b/nginx/sites-available/monitoramento.itguys.com.br.conf index 51e7d44..18db9e7 100644 --- a/nginx/sites-available/monitoramento.itguys.com.br.conf +++ b/nginx/sites-available/monitoramento.itguys.com.br.conf @@ -52,9 +52,9 @@ server { # LOGS, LIMITAÇÃO E SEGURANÇA BÁSICA # ============================================================================ client_max_body_size 10M; - access_log /var/log/nginx/monitoramento.itguys.com.br.access.log; + access_log /var/log/nginx/monitoramento.itguys.com.br.access.log detailed_proxy; error_log /var/log/nginx/monitoramento.itguys.com.br.error.log warn; - access_log /var/log/nginx/monitoramento.itguys.com.br.bad-bot.log if=$is_bad_bot; + access_log /var/log/nginx/monitoramento.itguys.com.br.bad-bot.log suspicious_bot if=$is_bad_bot; # Módulo de Segurança Global (Bloqueia bots e URIs suspeitas de nginx.conf) if ($block_request) {