[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-27 14:04:18
This commit is contained in:
parent
86a74da515
commit
dff99abbfa
|
|
@ -89,6 +89,15 @@ http {
|
|||
}
|
||||
limit_req_zone $limit_key zone=global_limit:20m rate=10r/s;
|
||||
|
||||
# --- 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.
|
||||
geoip2 /usr/share/GeoIP/GeoLite2-City.mmdb {
|
||||
$geoip2_country_code data country code;
|
||||
$geoip2_city_name data city names en;
|
||||
$geoip2_isp data autonomous_system_organization;
|
||||
}
|
||||
|
||||
# --- DEFINIÇÃO DO FORMATO DE LOG (OBRIGATÓRIO AQUI) ---
|
||||
# Define um formato de log rico que pode ser chamado por qualquer site.
|
||||
log_format detailed_proxy escape=json
|
||||
|
|
|
|||
Loading…
Reference in New Issue