Update nginx.conf.erb

Always set rewrite configuration.