nginx tips for localhost development

2013-04-14 Thread Ian M. Evans
As I'm about to launch some major additions to my site (and launch another site) I've been starting to get my act together in regards to development, e.g. finally starting to use git, getting ready for a responsive redesign, etc. I've realized that it would probably be wise to develop locally by r

Re: limit_conn_zone and limit_conn behavior in 1.2.8

2013-04-14 Thread mrtn
So, I've found out more about my situation. Apparently, limit_conn_zone stuff I'm doing on Nginx applies to HAProxy only which is in front of my Nginx. I guess I have two options: 1. Use HAProxy (instead of Nginx) for request/connection limiting. 2. Limit requests/connections on Nginx based on X

Re: using upstream module that won't override the original request

2013-04-14 Thread agentzh
Hello! On Sun, Apr 14, 2013 at 6:22 AM, gadh wrote: > I'm trying to hold a client request to backend (not go to the server yet), > issue an upstream request to another server, then parse the upstream > response, store it in my orig. request ctx, only then go to backend server > (original request),

Re: Buffering stopped after 3minutes

2013-04-14 Thread shahzaib shahzaib
The issue has been resolved. It was monit who was creating issues and closing nginx connection during buffering. I changed the version of monit from 4.1* to 5.1* and there ain't no error in logs regarding "signal process started" . Thanks On Sat, Apr 13, 2013 at 7:24 PM, shahzaib shahzaib wrote:

using upstream module that won't override the original request

2013-04-14 Thread gadh
I'm trying to hold a client request to backend (not go to the server yet), issue an upstream request to another server, then parse the upstream response, store it in my orig. request ctx, only then go to backend server (original request), and in the output filter inject some of the ctx data i store