From 29b72f69bd5596d542d4f3723e389b41cca9334e Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 15 May 2024 13:32:58 +0200 Subject: [PATCH] updated nginx state --- states/nginx/templates/nginx.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/states/nginx/templates/nginx.conf.j2 b/states/nginx/templates/nginx.conf.j2 index 8a00151..e74d4d8 100644 --- a/states/nginx/templates/nginx.conf.j2 +++ b/states/nginx/templates/nginx.conf.j2 @@ -39,12 +39,12 @@ http { set_real_ip_from ::1; {%- if nginx.config.geoip %} - geoip2 /var/lib/haproxy/geoip/GeoLite2-ASN.mmdb { + geoip2 /usr/share/GeoIP/GeoLite2-ASN.mmdb { $geoip2_asn default=0 autonomous_system_number; $geoip2_org default=ISP autonomous_system_organization; } - geoip2 /var/lib/haproxy/geoip/GeoLite2-City.mmdb { + geoip2 /usr/share/GeoIP/GeoLite2-City.mmdb { $geoip2_country_name default=England country names en; $geoip2_city_name default=London city names en; }