IP, User Agent, and Referrer Tracking Disabled on cinc.rud.is and git.rud.is

Not flagging this with an “R” tag since I don’t want to spam R-bloggers but I mentioned here that I’d be disabling logging on https://cinc.rud.is and https://git.rud.is and I wanted to follow up on that with an addendum that I’ve opted to disable user/system tracking in the access logs of both those sites vs just drop access logs entirely.

I’ve configured nginx with ipscrub and have defined a new log_format:

log_format special '$remote_addr_ipscrub - [$time_local] "$request" $status $body_bytes_sent';

that anonymizes the incoming IP address and does not log referrer (it only logs what you see above).

That way I can get usage info without tracking you b/c I rly have no need for the extra info.

It was super-easy to install and I can recommend it for anyone who runs nginx and wants to avoid capturing information you really don’t need to measure engagement.

Cover image from Data-Driven Security
Amazon Author Page

1 Comment IP, User Agent, and Referrer Tracking Disabled on cinc.rud.is and git.rud.is

  1. Pingback: Wrangling Content Security Policies in R | rud.is

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.