Re: ip address masking

2018-02-15 Thread Robert Paprocki
Hi, On Tue, Feb 13, 2018 at 5:46 PM, Tom wrote: > Hi, > > I'm wondering if anyone has successfully masked ip addresses in nginx > before they are written to a log file. > > I understand there are reasons why you would and would not do this. > > Anyway, my config so far, which I believe works for

Re: ip address masking

2018-02-13 Thread Tom
  14.02.2018, 16:08, "Alex Samad" :Why not just change the log format to exclude the ip address or put in static ip  1) Would like to be able to use the ip for geoip, even after the visit. Need the IP for this or to use the geoip module within nginx - though I think for maxmind geoip2 the inbuilt m

Re: ip address masking

2018-02-13 Thread Alex Samad
Why not just change the log format to exclude the ip address or put in static ip On 14 February 2018 at 12:46, Tom wrote: > Hi, > > I'm wondering if anyone has successfully masked ip addresses in nginx > before they are written to a log file. > > I understand there are reasons why you would and

ip address masking

2018-02-13 Thread Tom
Hi, I'm wondering if anyone has successfully masked ip addresses in nginx before they are written to a log file. I understand there are reasons why you would and would not do this. Anyway, my config so far, which I believe works for ipv4 addresses, but probably on only a few formats of ipv6 address