Re: Request for a "no capture" rewrite directive enhancement

2014-05-28 Thread B.R.
Yup the location directive uses the PCRE library to interpret regex. Its docs doesn't mention that the regex are PCRE, but the hint is given away on the build from sources page. It reminds me that not so long ago I mixed up named captures and subpatterns sy

Re: Request for a "no capture" rewrite directive enhancement

2014-05-28 Thread Peter Mescalchin
Fantastic Igor - I didn't know that you could do named captures in Nginx - good to know. That solves it rather nicely. And thanks B.R. - yep, that syntax is part of PCRE. Pete > I think Igor is suggesting PERL named captures. > > Although, it appears to me the correct syntax would rather b

Re: NGINX: Reverse Proxy (SSL) with non-ssl backend

2014-05-28 Thread Steve Wilson
It's late and I'm about to go to bed so I've not checked the docs on this but ... add_header Front-End-Https on; I suspect this is meant to be proxy_add_header and meant so php can detect the client is accessing via https. If my memory is correct on this it's likely that php co

Re: NGINX: Reverse Proxy (SSL) with non-ssl backend

2014-05-28 Thread Francis Daly
On Mon, May 26, 2014 at 10:11:27AM +0100, Nelson Manuel Marques wrote: Hi there, > I am facing a small issue with this setup, mainly, when I select checkboxes > and friends and hit submit (ex; application setup) nothing happens… Can you rephrase this in the form of "I make this http request and

Re: nginx add trailing slash with wrong port

2014-05-28 Thread Francis Daly
On Sat, May 24, 2014 at 02:53:21PM -0400, luc2 wrote: Hi there, > nginx rewrites : > > > http://localhost:8081/files > > to : > > > http://localhost:81/files/ # wrong port ! > is it possible to configure nginx to behave like apache ? No. If your use case is restricted to one of the two ment

Header Vary: Accept-Encoding - security risk ?

2014-05-28 Thread chili_confits
Dear list, I have enabled gzip with ... gzip on; gzip_http_version 1.0; gzip_vary on; ... to satisfy incoming HTTP 1.0 requests. In a very similiar setup which got OWASP-evaluated, I read this - marked as a defect: "The web server sent a Vary header, which indicates that server-driven n

Re: Can anyone tell me how to delete spam pages on the wiki?

2014-05-28 Thread sarah.novotny
hi! thanks for the offer for help.  send me an email sa...@nginx.com and i’ll get you set up. sarah From: talkingnews nginx-fo...@nginx.us Reply: nginx@nginx.org nginx@nginx.org Date: May 28, 2014 at 11:29:17 AM To: nginx@nginx.org nginx@nginx.org Subject:  Can anyone tell me how to delete spa

Can anyone tell me how to delete spam pages on the wiki?

2014-05-28 Thread talkingnews
Click this: http://wiki.nginx.org/index.php?title=Special:Search&limit=500&offset=0&redirs=1&profile=default&search=a+ See the problem?! I stopped counting at 500 pages. It gets kinda tedious searching for info to end up wading through wedding dress and SEO spam and finding out "how to finger you

Re: Etags and Load-balanced environmetn

2014-05-28 Thread Maxim Dounin
Hello! On Wed, May 28, 2014 at 06:55:17PM +0200, Lau Buru wrote: > Hi, > > I've got 3 NGinx servers running under a load balancer. I've got ETags > successfuly configured but the problem is that each server presents > different ETag tag for the same content: > > ETag: "531ee076-6b" > ETag:

Etags and Load-balanced environmetn

2014-05-28 Thread Lau Buru
Hi, I've got 3 NGinx servers running under a load balancer. I've got ETags successfuly configured but the problem is that each server presents different ETag tag for the same content: ETag: "531ee076-6b" ETag: "531edf6a-6b" ETag: "531ede5f-6b" ETag: "531edd4f-6b" I've read that NGinx is

Re: Request for a "no capture" rewrite directive enhancement

2014-05-28 Thread Igor Sysoev
On 28 May 2014, at 19:39, B.R. wrote: > I think Igor is suggesting PERL named captures. > > Although, it appears to me the correct syntax would rather be (?...), > as perlre docs state. > Then, just use you first syntax (omitting the 'set' directives). You a re right, I have mistaken. --

Re: Request for a "no capture" rewrite directive enhancement

2014-05-28 Thread B.R.
I think Igor is suggesting PERL named captures. Although, it appears to me the correct syntax would rather be (?...), as perlre docs state. Then, just use you first syntax (omitting the 'set' directives). --- *B. R.* On Wed, May 28, 2014 at

Re: Caching servers in Local ISPs !!

2014-05-28 Thread shahzaib shahzaib
Right. I'll proceed with my research and get back to you with better approach . :) ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Request for a "no capture" rewrite directive enhancement

2014-05-28 Thread Igor Sysoev
On 28 May 2014, at 08:55, Peter Mescalchin wrote: > Thanks Igor, > >I had explored that method already, sadly (as you know) "alias" is given > as an absolute path meaning I can't use this block of config within multiple > virtual hosts which I include; - would have to re-write this same bl

Re: Caching servers in Local ISPs !!

2014-05-28 Thread itpp2012
shahzaib1232 Wrote: --- > Thanks itpp. So according to you the more preferable way is > non-caching > replication of main content servers to local ISP servers and than run > rsync > periodically for replication. So if file not found in local ISP n

Re: Caching servers in Local ISPs !!

2014-05-28 Thread shahzaib shahzaib
@itpp22, proxy_cache is eating too much memory and cpu on local testing. 1 nginx process was using 1G of Ram and load-avg reached to 22, eventually local server got killed. Local server specs are : 8cores and 4G ram. Looks like proxy_cache will not be suitable method for 3000+ concerrent connecti

Re: Caching servers in Local ISPs !!

2014-05-28 Thread shahzaib shahzaib
Thanks itpp. So according to you the more preferable way is non-caching replication of main content servers to local ISP servers and than run rsync periodically for replication. So if file not found in local ISP nginx, it should forward request to main content server using try_files method ? On T