Apache To Nginx Web Server

Hello,

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?

Thanks,
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