From 51fa4ffc7e85fd79beb37e4b75e9d036069d320b Mon Sep 17 00:00:00 2001 From: "srvproxy001.itguys.com.br" Date: Fri, 3 Oct 2025 21:11:55 -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-03=2021:11:55?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/nginx.conf | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 703379e..20ee819 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -111,22 +111,22 @@ http { # Carrega o banco de dados GeoIP e mapeia as variáveis usadas no log. # Carrega o banco de dados de Cidades/Países geoip2 /usr/share/GeoIP/GeoLite2-City.mmdb { - $geoip2_continent_code data continent code; - $geoip2_country_code data country iso_code; - $geoip2_country_name data country names en; - $geoip2_state_code data subdivisions 0 iso_code; - $geoip2_state_name data subdivisions 0 names en; - $geoip2_city_name data city names en; - $geoip2_postal_code data postal code; - $geoip2_latitude data location latitude; - $geoip2_longitude data location longitude; - $geoip2_timezone data location time_zone; + $geoip2_continent_code; + $geoip2_country_code; + $geoip2_country_name; + $geoip2_state_code; + $geoip2_state_name; + $geoip2_city_name; + $geoip2_postal_code; + $geoip2_latitude; + $geoip2_longitude; + $geoip2_timezone; } # Carrega o banco de dados de Provedor (ASN) geoip2 /usr/share/GeoIP/GeoLite2-ASN.mmdb { - $geoip2_asn data autonomous_system_number; - $geoip2_isp data autonomous_system_organization; + $geoip2_asn; + $geoip2_isp; } # --- DEFINIÇÃO DO FORMATO DE LOG (OBRIGATÓRIO AQUI) ---