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

This commit is contained in:
Paul 2024-04-15 18:11:09 +02:00
parent 288b2329a9
commit f8528e1ef6

View File

@ -39,12 +39,12 @@ http {
set_real_ip_from ::1;
{%- if nginx.config.geoip %}
geoip2 /usr/share/GeoIP/GeoLite2-ASN.mmdb {
geoip2 /var/lib/haproxy/geoip/GeoLite2-ASN.mmdb {
$geoip2_asn default=0 autonomous_system_number;
$geoip2_org default=ISP autonomous_system_organization;
}
geoip2 /usr/share/GeoIP/GeoLite2-City.mmdb {
geoip2 /var/lib/haproxy/geoip/GeoLite2-City.mmdb {
$geoip2_country_name default=England country names en;
$geoip2_city_name default=London city names en;
}