atom feed27 messages in ru.sysoev.nginxRe: Weird 0.8.11.1 connections spike
FromSent OnAttachments
Jeff WaughAug 29, 2009 5:50 am 
Igor SysoevAug 29, 2009 6:48 am 
Jeff WaughAug 29, 2009 7:32 am 
Igor SysoevAug 29, 2009 8:08 am 
Jeff WaughAug 29, 2009 8:45 am 
Igor SysoevAug 29, 2009 9:40 am 
Jim OhlsteinAug 30, 2009 7:59 am 
Igor SysoevAug 30, 2009 8:31 am 
Jim OhlsteinAug 30, 2009 8:52 am 
Igor SysoevAug 30, 2009 9:29 am 
Jim OhlsteinAug 30, 2009 7:55 pm 
Jeff WaughAug 30, 2009 8:03 pm 
Igor SysoevAug 30, 2009 10:23 pm 
Igor SysoevAug 30, 2009 10:46 pm 
Jeff WaughAug 30, 2009 11:36 pm 
Jeff WaughAug 31, 2009 12:14 am 
Igor SysoevAug 31, 2009 12:24 am 
Jeff WaughAug 31, 2009 12:55 am 
Igor SysoevAug 31, 2009 1:34 am 
Jeff WaughAug 31, 2009 1:36 am 
Jeff WaughAug 31, 2009 2:03 am 
Igor SysoevAug 31, 2009 3:37 am 
Igor SysoevAug 31, 2009 4:27 am.Other
Jim OhlsteinAug 31, 2009 5:13 am 
Igor SysoevAug 31, 2009 5:27 am 
Jeff WaughAug 31, 2009 6:53 am 
Igor SysoevAug 31, 2009 7:07 am 
Subject:Re: Weird 0.8.11.1 connections spike
From:Jeff Waugh (jd@bethesignal.org)
Date:Aug 31, 2009 6:53:55 am
List:ru.sysoev.nginx

<quote who="Igor Sysoev">

However, you try this:

location / { root /srv; try_files /example.com/root$uri /example.com/root$uri/ /wordpress/root/$uri /wordpress/root/$uri/ /index.php?q=$request_uri; }

The reason why try_files tests files only against "root" is because there is also "alias" that can be not expressed via simple concatenation.

Hmm. This appears to make a ridiculous amount of sense. ;-)

Is it impossible to provide a fully qualified path to try_files? I can't do something like:

root /srv/example.com/root; try_files /srv/example.com/root$uri /index.php?q=$request_uri;

Will that check for /srv/example.com/root/srv/example.com/root$uri ?

How about $document_root in try_files?

root /srv/example.com/root; set $wordpress_root /srv/wordpress/root; try_files $document_root$uri $document_root$uri/ $wordpress_root$uri $wordpress_root$uri/ /index.php?q=$request_uri;

(I'll test the patch you posted regardless of these questions.)

Thanks,

- Jeff

"A 'lame' server is a server that is SUPPOSED to be authoritative, but, when asked, says: 'Me? I know nothing, I'm from Madrid!'" - Ralf Hildebrandt