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

no access_log logging for UDP streams

2018-02-13 Thread David Kewley
I'm using nginx 1.12.1 to proxy TCP and UDP streams. I have in my stream {} stanza: log_format test '$time_local'; access_log /var/log/nginx/stream-access.log test buffer=64k flush=1s; error_log /var/log/nginx/stream-info.loginfo; Both TCP and UDP streams log to /var/log/nginx

Re: Mail proxy the destination server by ssl (Postfix)

2018-02-13 Thread Maxim Dounin
Hello! On Tue, Feb 13, 2018 at 02:39:10AM -0500, Azusa Taroura wrote: > Hi everyone,  > I’m trying to mail-proxy by ssl connection from the nginx server to the > postfix server. > Please let me ask some question. > > SMTPS(465)->| nginx |--SMTPS(465)->| Postfix | > > Question1: > I found this i

proxy_cache overflows max_size

2018-02-13 Thread stout
Hi, I have: nginx version: nginx/1.12.2 (github.com/istenrot/centos-nginx-http2: openssl-1.0.2m, PCRE JIT, PushStream, HeadersMore, LUA, Brotli) built by gcc 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) working as reverse proxy for ceph with media files Here's my configuration.. (only the relevant par