overwrite default nginx config to support redirection to rails-backend.dev
remove bad config
allow localhost/backend without trailing slashes