This commit is contained in:
parent
3b17524787
commit
29b72f69bd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user