Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-06 Thread Styopa Semenukha
On Monday, October 06, 2014 12:24:35 PM mottycruz wrote: > Thanks for your help Styopa, > > I was able to find modules installed on our current proxy with the following > command, because we have a customize module. > > :~# /usr/local/nginx/sbin/nginx -V > nginx version: nginx/0.7.67 > built b

nginx proxy being slow

2014-10-06 Thread imran_k
We are trying to act as a proxy for a site within the same DMZ. Things seem to work fine, except when there is quite a heavy load. There are many CSS assets that just hang upon retrieval. Sometimes the full page comes through; sometimes just spins forever. Server: nginx 1.6.1 running on Linux. M

Debian Package Rules as Mercurial repositories

2014-10-06 Thread Dominic
Dear List I'm looking for the Debian package rules. I could download the source file from http://nginx.org/packages/mainline/ubuntu/pool/nginx/n/nginx/. But I guess there is an non public repository, where the package rules are stored to build all the provided packages. Something like https:

SPDY connection was interrupted while downloading a file

2014-10-06 Thread Greg Barker
I'm using nginx 1.6.2 w/ SPDY to serve an autoindex of static files. After I start downloading a file, I can no longer access other pages on the site. I get a Firefox error message "The connection was interrupted" - a similar message appears in Chrome. If I do a CTRL+F5, then I can browse the site

Re: [calling all patch XPerts !] [PATCH] RSA+DSA+ECC bundles

2014-10-06 Thread shm...@riseup.net
calling all patch XPerts ! calling all patch XPerts ! is anybody out there able to update patch support for the latest nginx ? shm...@riseup.net wrote: > unfortunately this was as far as i got with version git > > $ patch -p0 < nginx_multiple_certs_and_stapling_V2.patch > patching file a/src/even

Re: Re: Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-06 Thread mottycruz
Thanks for your help Styopa, I was able to find modules installed on our current proxy with the following command, because we have a customize module. :~# /usr/local/nginx/sbin/nginx -V nginx version: nginx/0.7.67 built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) TLS SNI support enabled configure

Re: Combine location blocks with same content

2014-10-06 Thread B.R.
location directive documentation states that '^~' modifier matches prefix locations, not regular expression ones, thus trying to use '^~' with a regular expression will most probably always end up in a failure. Try to use the regul

Combine location blocks with same content

2014-10-06 Thread Lorenzo Raffio
location ^~ /categoria/personale-scolastico/area-docenti/ {                 auth_basic                          "Restricted";                 auth_basic_user_file    /var/www/domain/.pswd_docenti;                 try_files $uri $uri/    /index.php?$args;                 include                    

Re: double slashes redirection

2014-10-06 Thread B.R.
By default, nginx 'cleanse' URI by decoding/correcting specific cases before matching it against a location. The multiple slashes are part of it. Read how location works. I suppose the internal $uri

double slashes redirection

2014-10-06 Thread Benoit Vasseur
Hi everybody, I am in trouble with my nginx configuration. my version of nginx is 1.1.19 My goal is to redirect http://example.com//site to http://example/site My app is in Rails and I want to handle this redirect with Rack. However I am not able to detect this ‘//’ in the url. Nginx send to