SSL renegotiation probelm using nginx as reverse proxy to apache

2014-04-03 Thread sean_at_stitcher
My goal is end-to-end encryption of multiple domains using nginx as a reverse proxy to load balance to multiple backends. Both nginx and apache use the same wildcard cert, eg *.domain.com. The first request to https://abc.domain.com/ works as expected, but a call to https://xyz.domain.com produce

Re: Transforming nginx for Windows

2014-04-03 Thread itpp2012
> very useful to me. But, for the long term, I still strongly believe > the application should be able to be run multiple times on the same > windows server instance. I agree with you but its not strait forward to get this to work that way, I'll put it on the todo list. Posted at Nginx Forum: h

Re: problem with echo_before when proxying a server which sends gzipped content

2014-04-03 Thread Carsten Germer
Hey Maxim, yes, it works with suppressing gzip between nginx and source-server with "proxy_set_header Accept-Encoding "deflate";" Thanks a bunch! I was aiming for a solution that preserves the gzip-compression between source and cache, but I'm caching long time, anyway. > add_before_body / add_

Re: Transforming nginx for Windows

2014-04-03 Thread tonyschwartz
I hear what you're saying and I'm not trying to take away from your great work on this project. I appreciate it very much. It has proven very useful to me. But, for the long term, I still strongly believe the application should be able to be run multiple times on the same windows server instance

Re: PCRE named captures sill counted in numerical variables list

2014-04-03 Thread B.R.
​Thanks Maxim, I just understood my mistake: I was confusing (once again, I think) named captures and subpatterns... What I wanted to use was the OR logic capability of captures while actually not capturing them... The starting question mark of both syntax confused me... If anyone is intereted i

Re: PCRE named captures sill counted in numerical variables list

2014-04-03 Thread Maxim Dounin
Hello! On Thu, Apr 03, 2014 at 03:08:14PM +0200, B.R. wrote: > I tried to configure the following location with something like: > > location ~* > "^/([[:alpha:]]{1,8}(?-[[:alpha:]]{1,8})?)(/.*[^/])?/?$" { > try_files $uri $uri/ $2/?lang=$1&$args; > } > > ​However, the $2 variable does

PCRE named captures sill counted in numerical variables list

2014-04-03 Thread B.R.
I tried to configure the following location with something like: location ~* "^/([[:alpha:]]{1,8}(?-[[:alpha:]]{1,8})?)(/.*[^/])?/?$" { try_files $uri $uri/ $2/?lang=$1&$args; } ​However, the $2 variable does not catch the last part of the URI as expected (either it catches the named cap

Re: More Descriptive 502 Errors

2014-04-03 Thread Maxim Dounin
Hello! On Wed, Apr 02, 2014 at 03:44:45PM -0400, abstein2 wrote: > Every so often I see a handful of errors in my error log, such as: > > connect() failed (113: No route to host) > upstream timed out (110: Connection timed out) > upstream sent too big header while reading response header from up

Re: how to use keepalive with Nginx revers proxy?

2014-04-03 Thread Maxim Dounin
Hello! On Thu, Apr 03, 2014 at 09:31:08AM +0530, Makailol Charls wrote: > Hi Maxim, > > Thanks for reply. > > Number of IPs are not fixed so it is not possible to define upstream and > map block I think. I am trying to implement completely dynamic > configuration using lua module. > > > Is it

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

2014-04-03 Thread Maxim Dounin
Hello! On Wed, Apr 02, 2014 at 07:41:13PM -0400, jakubp wrote: > > What currently can be used for such a use case is "inactive=" > > parameter of the proxy_cache_path directive (see > > http://nginx.org/r/proxy_cache_path). It ensures that items not > > recently requested are removed from the

multiple CAs in ssl_client_certificate does not work for me

2014-04-03 Thread brunoa
Hello, I've seen from the doc and from this post (http://forum.nginx.org/read.php?2,229129,229132#msg-229132) that it is possible to specify multiple CAs in ssl_client_certificate directive. I have nginx version 1.1.19. here is my config: server { listen 443; server_name mydomain.com;

Re: XSLT, one XML file and differing URIs

2014-04-03 Thread dvdnginx
Hi Martin, Thanks I' look into it, sorry about delay in replying I got side tracked! Cheers, Dave. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248495,248954#msg-248954 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/m

Re: Transforming nginx for Windows

2014-04-03 Thread itpp2012
tonyschwartz Wrote: --- > run multiple instances. I would suggest nginx for windows should > allow it. Perhaps a config entry for this "shared pool name" property > can be added to the configs. I've tried this with the plain basic nginx version