Question
Anonymizing IP addresses by having NGINX not send those over to the application it is serving ?
This might be completely undoable, but I have to ask anyway. I am running a tracking / analytics script called cpvlab and this script stores the IP addresses of visitors in the DB.
I have no problem in anonymizing the nginx access logs. This I can do.
However the script still stores the regular IP’s in the DB.
Anyone have an idea how I can force it to do otherwise ? Could it be that it takes the IP from NGINX somehow ? Maybe if I can strip the IP at the level of nginx, I could force the script to store blanks ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×