Skip to content
Snippets Groups Projects
Verified Commit 97bb7a43 authored by nd's avatar nd
Browse files

disable extended geoip logging

parent eb2e8df0
Branches
Tags
No related merge requests found
geoip_country /usr/share/GeoIP/GeoIPv6.dat;
geoip_city /usr/share/GeoIP/GeoIPCity.dat;
geoip_org /usr/share/GeoIP/GeoIPASNum.dat;
#geoip_city /usr/share/GeoIP/GeoIPCity.dat;
#geoip_org /usr/share/GeoIP/GeoIPASNum.dat;
......@@ -38,11 +38,12 @@ log_format promtail_analytics escape=json '{'
'"gzip_ratio": "$gzip_ratio", '
'"http_cf_ray": "$http_cf_ray",'
'"geoip_country_code": "$geoip_country_code",'
'"geoip_region": "$geoip_region",'
'"geoip_city": "$geoip_city",'
'"geoip_org": "$geoip_org",'
'"geoip_latitude": "$geoip_latitude",'
'"geoip_longitude": "$geoip_longitude"'
'"geoip_region": "$geoip_region"'
# disabled for now since debian bullseye doesn't ship the needed geoip database
# '"geoip_city": "$geoip_city",'
# '"geoip_org": "$geoip_org",'
# '"geoip_latitude": "$geoip_latitude",'
# '"geoip_longitude": "$geoip_longitude"'
'}';
......
......@@ -26,7 +26,6 @@
- libnginx-mod-http-geoip
- goaccess
- geoip-database
- geoip-database-extra
notify:
- delete nginx index.nginx-debian.html
- restart nginx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment