duplicate Vary: Accept-Encoding header

2013-06-24 Thread philipp
I use nginx 1.4.1 with gunzip = on and gzip_vary = on. This leads to a duplicate Vary Header. gzip_vary should do nothing if the header is already present: user@aladin:~$ curl -I -A test http://192.168.56.249/ HTTP/1.1 302 Found Server: nginx Date: Tue, 25 Jun 2013 06:45:12 GMT Content-Type: text

Re: bug in spdy - 499 response code on long running requests

2013-06-24 Thread justin
Valentin, Unfortunately I did not build nginx --with-debug, additionally it would be somewhat tedious and hard to replicate the issue. However, if needed, I can recompile nginx on a development server and see if I can replicate this error condition with spdy enabled. However the setup would be te

Re[2]: Re[2]: auth_basic 500 Internal Server Error

2013-06-24 Thread wishmaster
Yeah, Steve! You're right. Thanks. nginx config dir had rwx for root:wheel only. Need to sleep :-). --- Original message --- From: "Steve Holdoway" Date: 25 June 2013, 00:25:26 > On Tue, 2013-06-25 at 00:20 +0300, wishmaster wrote: > > > > --- Original message --- > > From: "Reinis Rozit

Re: Nginx + Uwsgi Error: unknown directive "uwsgi_pass"

2013-06-24 Thread Steve Holdoway
Are you sure it's got uwsgi built in? If it's from a different repo / not up to date, then it may well not. nginx -V should answer that. On Mon, 2013-06-24 at 17:25 -0400, Josh Haimson wrote: > Hi all, > > > I'm trying to configure nginx 1.1.19 on an ubuntu server with uwsgi. > It works fine o

Nginx + Uwsgi Error: unknown directive "uwsgi_pass"

2013-06-24 Thread Josh Haimson
Hi all, I'm trying to configure nginx 1.1.19 on an ubuntu server with uwsgi. It works fine on my ubuntu dev machine with the same exact version of nginx, but for some reason I get the following error when I try to start nginx on my production server: Starting nginx: nginx: [emerg] unknown directi

Re: Re[2]: auth_basic 500 Internal Server Error

2013-06-24 Thread Steve Holdoway
On Tue, 2013-06-25 at 00:20 +0300, wishmaster wrote: > > --- Original message --- > From: "Reinis Rozitis" > Date: 24 June 2013, 23:00:48 > > > > > 2013/06/24 22:03:05 [crit] 34189#0: *1 open() > > > "/usr/local/etc/nginx/authpw" failed (13: Permission denied) > > > > > > # ls -lo ./authpw

Re[2]: auth_basic 500 Internal Server Error

2013-06-24 Thread wishmaster
--- Original message --- From: "Reinis Rozitis" Date: 24 June 2013, 23:00:48 > > 2013/06/24 22:03:05 [crit] 34189#0: *1 open() > > "/usr/local/etc/nginx/authpw" failed (13: Permission denied) > > > > # ls -lo ./authpw > > -r--r- 1 root www - 50 24 чер 21:58 ./authpw > > > > What I ha

Re: auth_basic 500 Internal Server Error

2013-06-24 Thread Reinis Rozitis
2013/06/24 22:03:05 [crit] 34189#0: *1 open() "/usr/local/etc/nginx/authpw" failed (13: Permission denied) # ls -lo ./authpw -r--r- 1 root www - 50 24 чер 21:58 ./authpw What I have missed? The error log kind of explains - the auth file is not readable by nginx user. Do you have spe

auth_basic 500 Internal Server Error

2013-06-24 Thread wishmaster
Hi, guys! I am attempting to secure one subdirectory on the server with ngx_http_auth_basic_module. Unfortunately, without success. In log file error: 2013/06/24 22:03:05 [crit] 34189#0: *1 open() "/usr/local/etc/nginx/authpw" failed (13: Permission denied), client: 111.222.251.165, server: s

Re: bug in spdy - 499 response code on long running requests

2013-06-24 Thread Valentin V. Bartenev
On Sunday 23 June 2013 09:31:25 justin wrote: > We sometimes have long running HTTPS requests, over 2 minutes, and > occasionally would see 499 response codes, and duplicate (double run) > transactions. After digging around and testing, it was discovered this only > occurs with spdy support enabled

Re: Redirection issues

2013-06-24 Thread TECK
Thank you Maxim. :) Is there a way to skip the IF with try_files and still having a 301 footprint? Something like: try_files /beta/info/$arg_id/ =404; Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240299,240302#msg-240302 ___ nginx mailing l

Re: Redirection issues

2013-06-24 Thread Maxim Dounin
Hello! On Mon, Jun 24, 2013 at 08:58:29AM -0400, TECK wrote: > Hello everyone, > > I'm currently using Nginx 1.4.1 on CentOS 6.4 64bits and trying to perform a > redirect of this type: > location /alpha { > location ~ ^/alpha/script.+([\d]+)$ { > return 301 /beta/info/$1/; > } >

Redirection issues

2013-06-24 Thread TECK
Hello everyone, I'm currently using Nginx 1.4.1 on CentOS 6.4 64bits and trying to perform a redirect of this type: location /alpha { location ~ ^/alpha/script.+([\d]+)$ { return 301 /beta/info/$1/; } } The originating location is /alpha/script.php?id=328. The redirected location

Can nginx handle/cache this robot handling case?

2013-06-24 Thread Ian Evans
Hi everyone. First some background. I'm trying to integrate the method used by Pixabay to handle Google Image Search's new design which makes it very easy (one button click) for visitors to see an image outside of the site's context. This has greatly slammed many sites' traffic and income. T