location /public {
autoindex on;
}
server {
listen 80 default_server;
# listen [::]:80 default_server ipv6only=on;
server_name localhost;
passenger_enabled on;
rails_env production;
root /home/deploy/project/current/public;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}