<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hello,</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
I want to change my Web Server from Apache to Nginx, but i have a configuration error with this server. I want to change the rewrite module inside .htaccess, shown below, as nginx configuration rewrite module. Can you help me how i change this module as nginx rewrite module? What is the converted nginx module of this apache rewrite module?</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Have a good day.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<div><IfModule mod_rewrite.c></div><div> Options -MultiViews</div><div> RewriteEngine On</div><div><br></div><div> RewriteCond %{REQUEST_FILENAME} !-d</div><div> RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]</div>
<div><br></div><div> RewriteCond %{REQUEST_FILENAME} !-f</div><div> RewriteRule ^ index.php [L]</div><div></IfModule></div></div></div>