Re: Nginx Upload Progress Module stops functioning once behind reverse-proxy

2015-02-17 Thread Ben Johnson
On 2/16/2015 3:52 PM, Francis Daly wrote: > On Mon, Feb 16, 2015 at 02:55:51PM -0500, Ben Johnson wrote: > > Hi there, > Hi, Francis, and thank you for taking the time to review my question and respond. I value and appreciate your time. >> I've recently compiled nginx-1.7.10 with a third-party u

200ms Delay With SPDY - Nginx 1.6.x ?

2015-02-17 Thread rikske
Dear, While searching for Nginx optimize patches: https://josephscott.org/archives/2014/12/nginx-1-7-8-fixes-200ms-delay-with-spdy/ Came to my attention. Can anyone confirm if the '200ms Delay With SPDY' problem also applies to Nginx 1.6.x? Thanks, Regards, Rik Ske _

Re: rewrite rules cms phpwcms not working

2015-02-17 Thread dansch8888
Hi Francis, thank you for this really good explanation. I tried your examples and they work very well. In the next days I will test it more extensive. > > (track|include|img|template|picture|filearchive|content|robots\.txt|favicon\.ico)($|/) > > - [L] > I think that say "anything that matches th

Re: ifdefine alternative

2015-02-17 Thread itpp2012
A much easier option is to use labels and perl to swap comment items around in the nginx.conf file. #PLABEL #development line; production line; if readln eq '^#PLABEL' then { swap 2 lines comment char; } else { write unchangedline; } Or something in that order. Posted at Nginx Forum: h

ifdefine alternative

2015-02-17 Thread neubyr
I have existing apache configuration which updates it's allow-deny rules based on whether it's development or production system. For example, apache gets started with '-D ${HOST_ENVIRONMENT}' parameter which is then used in IFDefine block. I was wondering if Nginx has any options to use similar op