[ANN] OpenResty 1.9.7.1 released

2015-12-24 Thread Yichun Zhang (agentzh)
Hi folks I am happy to announce the new formal release, 1.9.7.1, of the OpenResty web platform based on NGINX and Lua: https://openresty.org/#Download Both the (portable) source code distribution and the Win32 binary distribution are provided there. Special thanks go to all our contributors

SSI URI path decoding/encoding issue

2015-12-24 Thread Martin Grotzke
Hi, we experienced an issue with SSIs (include virtual): nginx at first decodes the URI path and encodes it before passing the request to the upstream. If an URI path segment contains %2F (encoded slash), the decoded slash is not encoded again so that the request sent to the upstream differs from

Re: x-accel-redirect enables caching for POST requests

2015-12-24 Thread Maxim Dounin
Hello! On Thu, Dec 24, 2015 at 12:16:43AM +0300, Руслан Закиров wrote: > On Wed, Dec 23, 2015 at 7:19 PM, Maxim Dounin wrote: > > > On Wed, Dec 23, 2015 at 07:10:43PM +0300, Руслан Закиров wrote: > > > > > On Wed, Dec 23, 2015 at 6:49 PM, Maxim Dounin > > wrote: > > > > > > > X-Accel-Redirect

Re: Exclude specific location from cache

2015-12-24 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! On 12/24/2015 04:28 PM, Maxim Konovalov wrote: > On 12/24/15 12:24 PM, Dewangga Bachrul Alam wrote: >> Sorry I forgot something, I'm using Nginx Plus R7. > > [...] > > Hi Dewangga, > > please open a support ticket. Our engineers will help

Re: Exclude specific location from cache

2015-12-24 Thread Maxim Konovalov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/24/15 12:24 PM, Dewangga Bachrul Alam wrote: > Sorry I forgot something, I'm using Nginx Plus R7. > [...] Hi Dewangga, please open a support ticket. Our engineers will help you with that in a minute. - -- Maxim Konovalov -BEGIN PGP SIGN

Re: Exclude specific location from cache

2015-12-24 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sorry I forgot something, I'm using Nginx Plus R7. nginx version: nginx/1.9.4 (nginx-plus-http2-r7-p1) built by gcc 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure arguments: --buil

Exclude specific location from cache

2015-12-24 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! Currently my configuration looks like this : map $request_method $purge_method { PURGE 1; default 0; } map $arg_geoloc $bypass { default 1; 1 0; } # Exclude from cache # Expected URL http://domain.tld/ locatio