Anonymize IP logging

masonicboom nginx-forum at
Sat Mar 31 23:07:57 UTC 2018

I made a module called ipscrub that does this: It
hashes the IP address with an ephemeral salt, so that you can match up
requests from the same IP (using the hash), but each time the salt cycles,
it becomes impossible to match an IP address with a hash in the logs.

Posted at Nginx Forum:,226003,279264#msg-279264

More information about the nginx mailing list