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

disable extended geoip logging

parent eb2e8df0
Branches
No related tags found
No related merge requests found
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 '{' ...@@ -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 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment