Anonymize IP logging in nginx?
Even if there is already an accepted answer, the solution seems not to be valid. nginx has the log_format directive, which has a context of http. This means, the log_format can only be (valid) set within the http {} section of the config file, NOT within the server sections! On the other hand we have … Read more