Is this how to rewrite this zend htaccess file to nginx?

view full story

http://serverfault.com – I have this htaccess file that's used in my zend project. We just moved from apache to nginx # Rewrite rules for Zend Framework RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/public.* RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php # Security: Don't allow browsing of directories Options -Indexes #RewriteBase '/' Part of my nginx server file has this location /public { } location ~ \.(js|ico|gif|jpg|png|css)$ { } location /not_found { } location /404.html { (HowTos)