Hello,
i recently switched from my Virtualmin Apache2 to Nginx, but htaccess is now of course not working anymore. I had this in my old htaccess:
Rewrite xonic v2RewriteCond %{REQUEST_URI} ./xpanel/. RewriteRule ^.+ - [L]
RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.+ - [L]
RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^.+ - [L]
RewriteCond %{REQUEST_FILENAME} -l RewriteRule ^.+ - [L]
CMSRewriteCond %{REQUEST_URI} ^(.)cms/.+.html RewriteCond %1 =/ RewriteRule ^(.)cms/(.+/)?([^\/]+).html store-cms.php?seo=$3&seo_c=$2&rest=$1&%{QUERY_STRING} [L]
MANUFACTURERRewriteCond %{REQUEST_URI} ^(.)manufacturer/.+.html RewriteCond %1 =/ RewriteRule ^(.)manufacturer/(.+/)?([^\/]+).html index.php?seo=$3&seo_c=$2&rest=$1&manu_detect=1&%{QUERY_STRING} [L]
PRODUCTSRewriteRule (.*/)?([^\/]+).html store-products.php?seo=$2&seo_c=$1&%{QUERY_STRING} [L]
CATEGORIESRewriteRule ^(.*/)?([^\/.]+)/?$ index.php?seo=$2&seo_c=$1&%{QUERY_STRING} [L]
How can i get this to work in Nginx?