From 07b1056951ad25419dec04d16730d6e957d9b3e9 Mon Sep 17 00:00:00 2001 From: "srvproxy001.itguys.com.br" Date: Sat, 27 Sep 2025 14:05:45 -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-09-27=2014:05:45?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/nginx.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 640a30e..43609cb 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -91,10 +91,14 @@ http { # --- CONFIGURAÇÃO DO MÓDULO GEOIP2 --- # Carrega o banco de dados GeoIP e mapeia as variáveis usadas no log. - # SUBSTITUA O CAMINHO ABAIXO PELO CAMINHO CORRETO NO SEU SERVIDOR. + # Carrega o banco de dados de Cidades/Países geoip2 /usr/share/GeoIP/GeoLite2-City.mmdb { $geoip2_country_code data country code; - $geoip2_city_name data city names en; + $geoip2_city_name data city names en; + } + + # Carrega o banco de dados de Provedor (ASN) + geoip2 /usr/share/GeoIP/GeoLite2-ASN.mmdb { $geoip2_isp data autonomous_system_organization; }