atom feed10 messages in ru.sysoev.nginxRe: ssl accelerator
FromSent OnAttachments
lovewadhwaApr 29, 2009 7:08 am 
lovewadhwaApr 30, 2009 4:25 am 
Igor SysoevApr 30, 2009 5:07 am 
Joe BofhApr 30, 2009 3:48 pm 
Igor SysoevApr 30, 2009 10:45 pm 
Joe BofhApr 30, 2009 11:38 pm 
Igor SysoevApr 30, 2009 11:43 pm 
Joe BofhMay 1, 2009 1:13 am 
Joe BofhMay 1, 2009 1:15 am 
Igor SysoevMay 1, 2009 1:36 am 
Subject:Re: ssl accelerator
From:Igor Sysoev (is@rambler-co.ru)
Date:Apr 30, 2009 11:43:28 pm
List:ru.sysoev.nginx

On Fri, May 01, 2009 at 08:38:25AM +0200, Joe Bofh wrote:

Hmm, that's kinda hard to do with this block.

location / { root /var/www/crm; access_log off;

index index.php index.html; fastcgi_param SCRIPT_FILENAME /var/www/crm/index.php;

if (-f $request_filename) { expires 1d; break; }

try_files $uri $uri/ /index.php?q=$uri; }

I don't see a way to take out the if block which should serve with specific conditions if the file exists.

location / { root /var/www/crm; access_log off;

index index.php index.html; expires 1d;

try_files $uri $uri/ /index.php?q=$uri; }

location ~ \.php$ { access_log off;

fastcgi_param SCRIPT_FILENAME /var/www/crm/index.php; fastcgi_pass ... }