Re: Dropped https client connection doesn't drop backend proxy_pass connection

2014-05-16 Thread newnovice
Does this also affect a 'Connection Close' header coming from the upstream service - being sent as a connect-keep-alive to the requesting client thru my nginx ssl reverse proxy? (I am trying to setup nginx as an SSL proxy; when the upstream service sends a connection close I want this to be passe

Re: Memcached

2014-05-16 Thread Yichun Zhang (agentzh)
Hello! On Fri, May 16, 2014 at 6:22 AM, nginxsantos wrote: > Have anyone used the thirdparty "memc-nginx-module" module for the memcached > operation. I am interested for a memcached module. So, I am evaluating > which one to use and their differences and the stability. > As the author of the ng

Re: Directly redirecting prefix location to named one

2014-05-16 Thread Yichun Zhang (agentzh)
Hello! On Thu, May 15, 2014 at 5:52 PM, Lord Nynex wrote: > http://wiki.nginx.org/HttpEchoModule#echo_exec > > I use this model in some parts of my configs. I, however, use openresty and > I'm not clear if there are any functionality differences between them. > No difference here. OpenResty bundl

Re: nginx rewrites $request_method on error

2014-05-16 Thread Yichun Zhang (agentzh)
Hello! On Thu, May 15, 2014 at 11:56 PM, kay wrote: > Don't you think this is a bug? > I think the NGINX core should prevent bad things from happen when 1. the user configures complicated things in his error_page targets, and 2. the error page is initiated by nginx too early in the request proce

Issue with nginx_http_push_module

2014-05-16 Thread epluntze
We are using nginx as a web/comet server to provide push notification to our web-app. We have been running fine on nginx 1.0.11 and nginx_http_push_module verson 0.692, on ubuntu 10.04 servers, for years without issue, but re recently upgraded to nginx 1.4.6 and push module .712, on 12.04. We are

Re: Memcached

2014-05-16 Thread Valentin V. Bartenev
On Friday 16 May 2014 09:22:55 nginxsantos wrote: > Hi: > > Have anyone used the thirdparty "memc-nginx-module" module for the memcached > operation. I am interested for a memcached module. So, I am evaluating > which one to use and their differences and the stability. > > I also came across ano

Re: Unexpected SSL Behavior with Virtual Hosts

2014-05-16 Thread Maxim Dounin
Hello! On Fri, May 16, 2014 at 09:37:12AM -0400, SAH62 wrote: > Igor Sysoev Wrote: > --- > > On 15 May 2014, at 04:01, SAH62 wrote: > > > > > Sorry for posting this twice. I posted it in the "How to" forum last > > week, > > > there haven't be

Re: Unexpected SSL Behavior with Virtual Hosts

2014-05-16 Thread SAH62
Igor Sysoev Wrote: --- > On 15 May 2014, at 04:01, SAH62 wrote: > > > Sorry for posting this twice. I posted it in the "How to" forum last > week, > > there haven't been any replies, so I thought I'd try again. > > > > I'm using nginx for multi

Memcached

2014-05-16 Thread nginxsantos
Hi: Have anyone used the thirdparty "memc-nginx-module" module for the memcached operation. I am interested for a memcached module. So, I am evaluating which one to use and their differences and the stability. I also came across another third party module ngx_http_enhanced_memcached_module . Ca

Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Maxim Dounin
Hello! On Fri, May 16, 2014 at 03:29:31PM +0800, gaop...@richinfo.cn wrote: > hi > When my nginx is below this structure,Nginx access to the IP > proxy server by IP, then nginx ip_hash load balancing, will all > requests are routed to the same tomcat, do not know if you have > what good method

Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Aleksandar Lazic
Maybe you could use the sticky function http://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky "This directive is available as part of our commercial subscription" [2] cheers Aleks Am 16-05-2014 10:17, schrieb gaop...@richinfo.cn: > ngx_http_upstream_module Load balancing a

Re: SSL Authentication: $ssl_client_verify

2014-05-16 Thread Maxim Dounin
Hello! On Fri, May 16, 2014 at 12:37:44AM -0400, Dustin Oprea wrote: > I have the following server configuration for client-authentication: > > ssl on; > ssl_certificate /.../certificate.pem; > ssl_certificate_key /.../private.pem; > > ssl_client_certificate /.../ca_cert.pem

Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Shafreeck Sea
必须用ip_hash ? 另外我也没太看明白你的问题。 2014-05-16 16:17 GMT+08:00 gaop...@richinfo.cn : > ngx_http_upstream_module Load balancing algorithm upstream the > instruction ip_hash; > > -- > gaop...@richinfo.cn > > > *From:* Shafreeck Sea > *Date:* 2014-05-16 16:14 > *To:* nginx@ngin

Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread gaop...@richinfo.cn
ngx_http_upstream_module Load balancing algorithm upstream the instruction ip_hash; gaop...@richinfo.cn From: Shafreeck Sea Date: 2014-05-16 16:14 To: nginx@nginx.org Subject: Re: nginx1.4.7 ip_hash load balancing strategy why ip_hash ? 2014-05-16 15:29 GMT+08:00 gaop...@richinfo.cn : hi

Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Shafreeck Sea
why ip_hash ? 2014-05-16 15:29 GMT+08:00 gaop...@richinfo.cn : > hi > When my nginx is below this structure,Nginx access to the IP proxy > server by IP, then nginx ip_hash load balancing, will all requests are routed > to the same tomcat, do not know if you have what good method to solve th

nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread gaop...@richinfo.cn
hi When my nginx is below this structure,Nginx access to the IP proxy server by IP, then nginx ip_hash load balancing, will all requests are routed to the same tomcat, do not know if you have what good method to solve the. The ip_hash function can be introduced into a custom IP.

Re: nginx rewrites $request_method on error

2014-05-16 Thread kay
I mean that I know how to avoid these errors, but I think that a better way to fix the issue is to fix it in low level. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249754,250145#msg-250145 ___ nginx mailing list nginx@nginx.org http://mail