proxy_cache with proxy_intercept_errors bug

2015-11-07 Thread ifeltsweet
Hi, I have a very simple proxy config: http { proxy_cache_path /var/www/cache levels=1:2 keys_zone=s3-images-cache:50m inactive=1M max_size=1000m; proxy_temp_path /var/www/cache/tmp; } server { listen 80; server_name images.example.com; location / {

set_real_ip_from --how to load IP list file ?

2015-11-07 Thread ...²º¹³
Hi, I'm using CDN with my site. There are many IPs on network. set_real_ip_from only can add IP in one line. I want to add IP list to file and load it . How to set ? PS: Apache Module mod_remoteip have RemoteIPTrustedProxyList for this. But I just want to use nginx. http://httpd.apache.or

listen deferred option

2015-11-07 Thread CJ Ess
Just curious - if I am using the deferred listen option on Linux my understanding is that nginx will not be woken up until data arrives for the connection. If someone is trying to DDOS me by opening as many connections as possible (has happened before) how does that situation play out with deferred

Re: log_subrequest and auth_request

2015-11-07 Thread jstangroome
Thanks, adding the `$uri` fields to the log helps. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262567,262648#msg-262648 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

NAXSI directive for fixing this error

2015-11-07 Thread Anoop Alias
Hi, I had an issue with nginx compiled in with the NAXSI waf . # nginx: [emerg] could not build the wlr_url_hash, you should increase wlr_url_hash_bucket_size: 512 nginx: [emerg] $URL hashtable init failed in /etc/nginx/nginx.conf:87 nginx: [emerg] WhiteList Hash building fail