ssl accelerator

Joe Bofh lists at ruby-forum.com
Fri May 1 10:38:25 MSD 2009


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.
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list