Htaccess to NGINX conversion help


#1

Hello,

I am wondering if anyone could help me convert this .htaccess file to
NGINX. I have attempted to look for solutions on the internet but
cannot seem to solve the problem.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /projects/name/public/index.php

Many thanks in advance.

Lee


#2

On Fri, Apr 24, 2009 at 05:36:31PM +0200, Lee Wilson wrote:

RewriteRule . /projects/name/public/index.php

Many thanks in advance.

location / {
try_files $uri $uri/ /projects/name/public/index.php;
}