[guardian-dev] Privacy preserving anonymized nginx log config

Abel Luck abel at guardianproject.info
Tue Jan 30 11:15:00 EST 2018

Does anyone know of a configuration solution for nginx to meet any or
all of these bullet points?

* log only the date, not the time or time zone
* referer, ip, user-agent are never logged
* country is logged by looking up the ip in a geoip database

Ideally this would apply to both the standard access log and error log.


More information about the guardian-dev mailing list