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 v2
RewriteCond %{REQUEST_URI} ./xpanel/.
RewriteRule ^.+ - [L]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.+ - [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^.+ - [L]
RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^.+ - [L]
#CMS
RewriteCond %{REQUEST_URI} ^(.)cms/.+.html
RewriteCond %1 =/
RewriteRule ^(.)cms/(.+/)?([^/]+).html store-cms.php?seo=$3&seo_c=$2&rest=$1&%{QUERY_STRING} [L]
#MANUFACTURER
RewriteCond %{REQUEST_URI} ^(.)manufacturer/.+.html
RewriteCond %1 =/
RewriteRule ^(.)manufacturer/(.+/)?([^/]+).html index.php?seo=$3&seo_c=$2&rest=$1&manu_detect=1&%{QUERY_STRING} [L]
#PRODUCTS
RewriteRule (.*/)?([^/]+).html store-products.php?seo=$2&seo_c=$1&%{QUERY_STRING} [L]
#CATEGORIES
RewriteRule ^(.*/)?([^/.]+)/?$ index.php?seo=$2&seo_c=$1&%{QUERY_STRING} [L]
How can i get this to work in Nginx?