updated nginx state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-05-15 13:32:58 +02:00
parent 3b17524787
commit 29b72f69bd

View File

@ -39,12 +39,12 @@ http {
set_real_ip_from ::1; set_real_ip_from ::1;
{%- if nginx.config.geoip %} {%- 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_asn default=0 autonomous_system_number;
$geoip2_org default=ISP autonomous_system_organization; $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_country_name default=England country names en;
$geoip2_city_name default=London city names en; $geoip2_city_name default=London city names en;
} }