I hope someone can help me with this. I'm a happy Nginx user and I want to use it for a 'custom' application. I use Nginx for years for Magento and Wordpress installs, and of course these configs are easy to find on Google.
Because I'm missing the basic knowledge on Apache and custom Nginx rules I'm not able to convert the Apache rules to the correct Nginx rules. Reading the documentation is like ready a good Japanese book for me.
The Apache rules:
RewriteCond $1 !^(tool|web|files)
RewriteCond %{REQUEST_URI} !((.*)\.(.*))$
RewriteRule ^(.*)$ dispatcher.php?route=/$1 [NC,L]
RewriteRule ^(img|css|js)/(.*) web/$1/$2 [L,QSA]
Thank you in advance!
Because I'm missing the basic knowledge on Apache and custom Nginx rules I'm not able to convert the Apache rules to the correct Nginx rules. Reading the documentation is like ready a good Japanese book for me.
The Apache rules:
RewriteCond $1 !^(tool|web|files)
RewriteCond %{REQUEST_URI} !((.*)\.(.*))$
RewriteRule ^(.*)$ dispatcher.php?route=/$1 [NC,L]
RewriteRule ^(img|css|js)/(.*) web/$1/$2 [L,QSA]
Thank you in advance!