Apache To Nginx Web Server


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
inside .htaccess, shown below, as nginx configuration rewrite module.
you help me how i change this module as nginx rewrite module? What is
converted nginx module of this apache rewrite module?

Have a good day.

Options -MultiViews RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs