Why body filter not work

2014-08-05 Thread Jerry OELoo
Hi. I just copy the code from Evan Miller's body filter. http://www.evanmiller.org/nginx-modules-guide.html#filters-body, however, In my browser I could not see inserted string () And I found that request header. Transfer-Encoding: chunked Is anything that I am wrong. Thanks. -- Rejoice,I Desi

Re: ngx.shared_dict.get_keys usage

2014-08-05 Thread Suraj Kumar
On Wed, Aug 6, 2014 at 12:14 PM, Suraj Kumar wrote: > When I do dict.get_keys(100), I see the following error in nginx error.log: > Never mind. I figured one must do dict:get_keys() and not dict.get_keys() That makes my first question and my first answer on this list on the same thread! ;) Tha

Re: Why cannot the same path for cache used several times?

2014-08-05 Thread itpp2012
B.R. Wrote: --- > What is wrong in having configured: > > proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; > proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=two:10m; keys_zone is memory, the other a 'file' path, I could i

ngx.shared_dict.get_keys usage

2014-08-05 Thread Suraj Kumar
Hi, I'm trying to use the lua module in combination with ngx.shared.DICT feature to record some statistics for nginx (and upstreams') health monitoring. When I do dict.get_keys(100), I see the following error in nginx error.log: 2014/08/06 06:27:55 [error] 13446#0: *1 lua entry thread aborted: r

Why cannot the same path for cache used several times?

2014-08-05 Thread B.R.
What is wrong in having configured: proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m; proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=two:10m; each stanza loaded from a different .conf file (from the conf.d, included by nginx.conf)? It ends up with: [emerg] the same path n

Re: nginx-1.6.1

2014-08-05 Thread mschipperheyn
Ok, yeah, I'm using Trusty Tahr and I was hoping to stay on stable but as I understand it, mainline can be considered production quality. Thanks Marc Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252312,252339#msg-252339 ___ nginx mailing l

Re: nginx-1.6.1

2014-08-05 Thread Valentin V. Bartenev
On Tuesday 05 August 2014 11:04:15 mschipperheyn wrote: > I have been testing nginx 1.6.0 as a reverse proxy with SPDY support. I > sometimes get empty responses. I have seen a bug report > (http://trac.nginx.org/nginx/ticket/428) about this which seems to be in > line with what I have been seeing.

Re: nginx-1.6.1

2014-08-05 Thread Maxim Konovalov
On 8/5/14 7:04 PM, mschipperheyn wrote: > I have been testing nginx 1.6.0 as a reverse proxy with SPDY support. I > sometimes get empty responses. I have seen a bug report > (http://trac.nginx.org/nginx/ticket/428) about this which seems to be in > line with what I have been seeing. It's marked as

Re: nginx-1.6.1

2014-08-05 Thread mschipperheyn
I have been testing nginx 1.6.0 as a reverse proxy with SPDY support. I sometimes get empty responses. I have seen a bug report (http://trac.nginx.org/nginx/ticket/428) about this which seems to be in line with what I have been seeing. It's marked as fixed but there seems some confusion about wheth

GeoIP Organization filtering?

2014-08-05 Thread AJ Weber
Has anyone tried using the Maxmind GeoIP Organization database to allow/block access to directories? I am currently using the GeoIP.dat (country) file -- which I believe is "version 1" of their binary db -- and this works great. I am investigating making a more "narrow" filter of IP Addresses

nginx security advisory (CVE-2014-3556)

2014-08-05 Thread Maxim Dounin
Hello! A bug in nginx SMTP proxy was found, which allows an attacker in a privileged network position to inject commands into SSL sessions started with the STARTTLS command, potentially making it possible to steal sensitive information sent by clients (CVE-2014-3556). The problem affects nginx 1.

nginx-1.6.1

2014-08-05 Thread Maxim Dounin
Changes with nginx 1.6.1 05 Aug 2014 *) Security: pipelined commands were not discarded after STARTTLS command in SMTP proxy (CVE-2014-3556); the bug had appeared in 1.5.6. Thanks to Chris Boulton. *) Bugfix: the $uri variable might co

nginx-1.7.4

2014-08-05 Thread Maxim Dounin
Changes with nginx 1.7.4 05 Aug 2014 *) Security: pipelined commands were not discarded after STARTTLS command in SMTP proxy (CVE-2014-3556); the bug had appeared in 1.5.6. Thanks to Chris Boulton. *) Change: URI escaping now uses uppe