Re: Nginx 1.7.0 failed make with Phusion Passenger ?

2014-04-24 Thread George
removing these lines in /usr/local/rvm/gems/ruby-2.1.1/gems/passenger-4.0.41/ext/nginx/StaticContentHandler.c seem to have allowed it to compile properly if (r->zero_in_uri) { return NGX_DECLINED; } nginx -V nginx version: nginx/1.7.0 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GC

Re: Nginx 1.7.0 failed make with Phusion Passenger ?

2014-04-24 Thread George
grep -C10 zero_in_uri /usr/local/rvm/gems/ruby-2.1.1/gems/passenger-4.0.41/ext/nginx/StaticContentHandler.c if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) { return NGX_HTTP_NOT_ALLOWED; } if (r->uri.data[r->uri.len - 1] == '/') { return NGX_DECLINED;

Nginx 1.7.0 failed make with Phusion Passenger ?

2014-04-24 Thread George
Anyone experience this problem ? I have Nginx 1.5.13 working fine with Phusion Passenger 4.0.37 source compile. But trying to update Nginx from 1.5.13 to 1.7.0 fails at make stage. I tried both Phusion Passenger 4.0.37 and 4.0.41 and it fails. Working Nginx 1.5.13 configuration nginx -V nginx ver

Re: rate limit by method

2014-04-24 Thread Jeroen Ooms
On Thu, Apr 24, 2014 at 11:29 AM, Maxim Dounin wrote: > I believe more or less the same question was discussed a couple of > weeks ago: > > http://mailman.nginx.org/pipermail/nginx/2014-April/043034.html Thank you! I must have missed that one. ___ ng

Re: worker process exited on signal 11

2014-04-24 Thread Lintu
Thanks, I'll try to get our servers upgraded in the next few days :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249524,249577#msg-249577 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx Websocket proxy dropping frames

2014-04-24 Thread B.R.
Logs? --- *B. R.* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx Websocket proxy dropping frames

2014-04-24 Thread FlappySocks
Connecting to my websocket server directly works (Chrome or Firefox). Connecting via the Nginx websocket proxy connects, but drops frames. Here is an example of the JSON messages: <-- {"login" : { "username": "user", "password" : "pass"}} --> {"loginReply" : { "state": "ok"}} <-- {"someSetting1" :

[ANN] Windows nginx 1.7.1.1 Snowman

2014-04-24 Thread itpp2012
21:28 24-4-2014 nginx 1.7.1.1 Snowman Based on nginx 1.7.1 (24-4-2014) with; + lua-upstream-nginx-module v0.1 (upgraded 24-4-2014) + Streaming with nginx-rtmp-module, v1.1.4 (upgraded 24-4-2014) + New development tree nginx export 1.7 + Naxsi WAF v0.53-1 (upgraded 17-4-2014) + Source changes back

Re: rate limit by method

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 11:07:26AM -0700, Jeroen Ooms wrote: > Is there any way I can impose a rate limit on a location or back-end > by HTTP method? Specifically I would like to limit the number of POST > requests that a single client IP can perform within a given timespan. I believe mor

rate limit by method

2014-04-24 Thread Jeroen Ooms
Is there any way I can impose a rate limit on a location or back-end by HTTP method? Specifically I would like to limit the number of POST requests that a single client IP can perform within a given timespan. ___ nginx mailing list nginx@nginx.org http:/

Local and Remote User Authentication

2014-04-24 Thread Hari Miriyala
Hi All, We have nginx1.4.7 with ngx_http_auth_request_module and ngx_http_auth_basic_module besides few other modules. There are few other modules also, but have mentioned above two modules only due to relevance to this discussion. Our application requires to have local user (meaning - store user

Re: [nginx-announce] nginx-1.7.0

2014-04-24 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.7.0 for Windows http://goo.gl/rYXbPx (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also availab

Re: [nginx-announce] nginx-1.6.0

2014-04-24 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.6.0 for Windows http://goo.gl/aWPxCn (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also availab

Disable Reverse Proxy for Failover

2014-04-24 Thread Hect, Jason
I turned on all the logging error_log logs/error.log; error_log logs/error.log notice; error_log logs/error.log info; Nothing shows up when I try this. I just get a 502 Bad Gateway response in my browser. Thanks, Jason

nginx-1.7.0

2014-04-24 Thread Maxim Dounin
Changes with nginx 1.7.0 24 Apr 2014 *) Feature: backend SSL certificate verification. *) Feature: support for SNI while working with SSL backends. *) Feature: the $ssl_server_name variable. *) Feature: the "if" parameter of the "access_lo

nginx-1.6.0

2014-04-24 Thread Maxim Dounin
Changes with nginx 1.6.0 24 Apr 2014 *) 1.6.x stable branch. -- Maxim Dounin http://nginx.org/en/donation.html ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Disable Reverse Proxy for Failover

2014-04-24 Thread Maxim Dounin
Hello! On Wed, Apr 23, 2014 at 09:58:48PM +, Hect, Jason wrote: > I have NGINX set up as a reverse proxy, which works fine. In > the event my web server goes down, I would like NGINX to act as > the failover, and serve a local page with just some basic > company information and a "check b

Re: worker process exited on signal 11

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 06:26:37AM -0400, Lintu wrote: > Today is the third time within the last week that the nginx server crashed > down, causing the website to only return "502 Bad Gateway" errors. In the > error log, I can find the following line: > > 2014/04/24 05:11:53 [alert] 32094

Re: Old topic ssl private key with passphrase

2014-04-24 Thread Aleksandar Lazic
Hi. Am 24-04-2014 10:54, schrieb Maxim Dounin: Hello! On Wed, Apr 23, 2014 at 08:32:57PM +0200, Aleksandar Lazic wrote: Hi. Am 23-04-2014 18:19, schrieb Maxim Dounin: [snipp] I also agree that this is a very hard task. >So the question is: why do you need it? If you want to get a speci

worker process exited on signal 11

2014-04-24 Thread Lintu
Today is the third time within the last week that the nginx server crashed down, causing the website to only return "502 Bad Gateway" errors. In the error log, I can find the following line: 2014/04/24 05:11:53 [alert] 32094#0: worker process 32095 exited on signal 11 I have searched for other us

Re: Old topic ssl private key with passphrase

2014-04-24 Thread Maxim Dounin
Hello! On Wed, Apr 23, 2014 at 08:32:57PM +0200, Aleksandar Lazic wrote: > Hi. > > Am 23-04-2014 18:19, schrieb Maxim Dounin: > >Hello! > > > >On Wed, Apr 23, 2014 at 05:34:10PM +0200, Aleksandar Lazic wrote: > > > >>Dear nginx developers. > >> > >>What is necessary that you take hands on the to

Re: help sendmsg() failed in error log

2014-04-24 Thread Valentin V. Bartenev
On Thursday 24 April 2014 11:04:05 yanghq wrote: > hello > > when test my reverse proxy server, I found "sendmsg() failed (9: > Bad file descriptor) while reading response header from upstream" in > error.log. > > Is there any clue about it? Since nginx doesn't use sendmsg() for upstre