Re: How to get rid of 204 Intercepted requests of IDM ?

2013-09-18 Thread shahzaib shahzaib
Hello Maxim, We didn't ask yet. I'll back to you with details. Thanks Shahzaib On Wed, Sep 18, 2013 at 7:38 PM, Maxim Dounin wrote: > Hello! > > On Wed, Sep 18, 2013 at 02:43:42PM +0500, shahzaib shahzaib wrote: > > > Hello, > > > > We're running a video streaming we

Access to live limit_conn values?

2013-09-18 Thread bryndole
I'm looking for a way get the value of the current number of connections in a given limit_conn zone.There is no variable access that I can find. I'm considering hacking this into the stub_status module, so that all of the active connection zones are displayed with the current number of active con

Re: Limit IP req/s excl bots

2013-09-18 Thread SplitIce
My bad I missed that sentence in the docco. Thanks, Ill be using map. That blog lead me down the wrong track. On Wed, Sep 18, 2013 at 11:26 PM, Maxim Dounin wrote: > Hello! > > On Wed, Sep 18, 2013 at 11:15:54PM +0930, SplitIce wrote: > > > I also think I found that 0 length keys wont be store

HTTP_X_FORWARDED_FOR being truncated/prefixed with a comma and no IP for some requests

2013-09-18 Thread scianos
Hi - I have confirmed an unusual situation in which it appears the leading address is being stripped from x-forwarded-for headers passed on to downstream hosts (running Apache in this case) on very specific requests. I haven't been able to determine a pattern that triggers the event. Has anyone e

Fedora 19 performs poorly

2013-09-18 Thread Konstantin Svist
Note: same message also posted in -ru list I'm trying to migrate from Fedora 14 (2.6.35.14-97.fc14.x86_64) to Fedora 19 (3.10.11-200.fc19.x86_64) worker_processes 40; events { worker_connections 8000; use epoll; } http { proxy_headers_hash_max_size 8096; # default was: 512

Re: How to get rid of 204 Intercepted requests of IDM ?

2013-09-18 Thread Maxim Dounin
Hello! On Wed, Sep 18, 2013 at 02:43:42PM +0500, shahzaib shahzaib wrote: > Hello, > > We're running a video streaming website with nginx for streaming > videos. The issue we're having is, whenever user try to stream any mp4 or > flv file from our site using chrome, IDM(Internet Downloa

Re: sending POSTs to backend

2013-09-18 Thread Maxim Dounin
Hello! On Wed, Sep 18, 2013 at 06:17:05AM -0400, michelem wrote: > Hello folks, > > I use nginx in front of a django/fastcgi application, and we serve a subset > of the URLs of this webapp statically. > > I use try_files to determine what's served statically and what goes to the > backend. > >

Re: Limit IP req/s excl bots

2013-09-18 Thread Maxim Dounin
Hello! On Wed, Sep 18, 2013 at 11:15:54PM +0930, SplitIce wrote: > I also think I found that 0 length keys wont be stored. This isn't in the > documentation but if I understand the code correctly they aren't, is this > correct? It's in the documentation, see http://nginx.org/r/limit_req_zone: :

Re: Limit IP req/s excl bots

2013-09-18 Thread Valentin V. Bartenev
On Wednesday 18 September 2013 17:45:54 SplitIce wrote: > I also think I found that 0 length keys wont be stored. This isn't in the > documentation but if I understand the code correctly they aren't, is this > correct? [...] Just a quote from the documentation (http://nginx.org/r/limit_req_zone):

Re: Limit IP req/s excl bots

2013-09-18 Thread SplitIce
I also think I found that 0 length keys wont be stored. This isn't in the documentation but if I understand the code correctly they aren't, is this correct? I could use a map then and get considerable flexibility. On Wed, Sep 18, 2013 at 11:06 PM, SplitIce wrote: > Does anyone know if there is

Limit IP req/s excl bots

2013-09-18 Thread SplitIce
Does anyone know if there is any truth to this blog post: http://gadelkareem.com/2012/03/25/limit-requests-per-ip-on-nginx-using-httplimitzonemodule-and-httplimitreqmodule-except-whitelist/ And if so where about in the code its implemented? I was trying to find out if its possible to use a map to

Re: Broken pipe while sending request to upstream

2013-09-18 Thread Maxim Dounin
Hello! On Wed, Sep 18, 2013 at 02:52:39AM -0400, Claudio wrote: > Hi Maxim. > > Maxim Dounin Wrote: > --- > > As long as a connection is closed before nginx is able to get a > > response - it looks like a problem in your backend. Normally suc

ngx_lua + proxy_next_upstream

2013-09-18 Thread Jedrzej Nowak
Hello, I have configured: 1. ngx_lua as rewrite_by_lua_file 2. lua returns upstream 3. Nginx connects to the upstream Works perfectly. The question is how can I archive proxy_next_upstream. Preferably I would like to return to lua with a error reason. If the only way is to return several servers

sending POSTs to backend

2013-09-18 Thread michelem
Hello folks, I use nginx in front of a django/fastcgi application, and we serve a subset of the URLs of this webapp statically. I use try_files to determine what's served statically and what goes to the backend. Some of these URLs, however, contain forms and are at the same time source and targe