disable extended geoip logging
This commit is contained in:
parent
eb2e8df0ae
commit
97bb7a433f
3 changed files with 8 additions and 8 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
geoip_country /usr/share/GeoIP/GeoIPv6.dat;
|
geoip_country /usr/share/GeoIP/GeoIPv6.dat;
|
||||||
geoip_city /usr/share/GeoIP/GeoIPCity.dat;
|
#geoip_city /usr/share/GeoIP/GeoIPCity.dat;
|
||||||
geoip_org /usr/share/GeoIP/GeoIPASNum.dat;
|
#geoip_org /usr/share/GeoIP/GeoIPASNum.dat;
|
||||||
|
|
|
||||||
|
|
@ -38,11 +38,12 @@ log_format promtail_analytics escape=json '{'
|
||||||
'"gzip_ratio": "$gzip_ratio", '
|
'"gzip_ratio": "$gzip_ratio", '
|
||||||
'"http_cf_ray": "$http_cf_ray",'
|
'"http_cf_ray": "$http_cf_ray",'
|
||||||
'"geoip_country_code": "$geoip_country_code",'
|
'"geoip_country_code": "$geoip_country_code",'
|
||||||
'"geoip_region": "$geoip_region",'
|
'"geoip_region": "$geoip_region"'
|
||||||
'"geoip_city": "$geoip_city",'
|
# disabled for now since debian bullseye doesn't ship the needed geoip database
|
||||||
'"geoip_org": "$geoip_org",'
|
# '"geoip_city": "$geoip_city",'
|
||||||
'"geoip_latitude": "$geoip_latitude",'
|
# '"geoip_org": "$geoip_org",'
|
||||||
'"geoip_longitude": "$geoip_longitude"'
|
# '"geoip_latitude": "$geoip_latitude",'
|
||||||
|
# '"geoip_longitude": "$geoip_longitude"'
|
||||||
|
|
||||||
'}';
|
'}';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
- libnginx-mod-http-geoip
|
- libnginx-mod-http-geoip
|
||||||
- goaccess
|
- goaccess
|
||||||
- geoip-database
|
- geoip-database
|
||||||
- geoip-database-extra
|
|
||||||
notify:
|
notify:
|
||||||
- delete nginx index.nginx-debian.html
|
- delete nginx index.nginx-debian.html
|
||||||
- restart nginx
|
- restart nginx
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue