How to show Rails app using nginx + passenger.
I've been trying to get deploy my rails app to my DO VPS. Eventually I've succeeded in doing that, but now I'm having trouble showing my app.
When I visit 188.8.131.52 I get the following message.
An error occurred. Sorry, the page you are looking for is currently unavailable. Please try again later. If you are the system administrator of this resource then you should check the error log for details. Faithfully yours, nginx.
This is a part of the nginx error log
[ 2014-11-02 04:55:37.0211 25717/7f822270d780 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started! 2014/11/02 04:55:40 [error] 25739#0: *1 directory index of "/home/deploy/movieseat/current/public/" is forbidden, client: 184.108.40.206, server: localhost, request: "GET / HTTP/1.1", host: "220.127.116.11"
I've created a question here https://serverfault.com/questions/641437/how-to-display-my-rails-app-using-nginx-and-passenger maybe it can give you a better look.
Greetings Peter Boomsma.