diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 43609cb..5f3488e 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -89,6 +89,10 @@ http { } limit_req_zone $limit_key zone=global_limit:20m rate=10r/s; + # --- ATIVAÇÃO GLOBAL DO WAF (MODSECURITY) --- + modsecurity on; + modsecurity_rules_file /etc/nginx/modsec/main.conf; # Arquivo que carrega as regras + # --- CONFIGURAÇÃO DO MÓDULO GEOIP2 --- # Carrega o banco de dados GeoIP e mapeia as variáveis usadas no log. # Carrega o banco de dados de Cidades/Países