| From | Sent On | Attachments |
|---|---|---|
| lovewadhwa | Apr 29, 2009 7:08 am | |
| lovewadhwa | Apr 30, 2009 4:25 am | |
| Igor Sysoev | Apr 30, 2009 5:07 am | |
| Joe Bofh | Apr 30, 2009 3:48 pm | |
| Igor Sysoev | Apr 30, 2009 10:45 pm | |
| Joe Bofh | Apr 30, 2009 11:38 pm | |
| Igor Sysoev | Apr 30, 2009 11:43 pm | |
| Joe Bofh | May 1, 2009 1:13 am | |
| Joe Bofh | May 1, 2009 1:15 am | |
| Igor Sysoev | May 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 ... }
-- Igor Sysoev http://sysoev.ru/en/





