I am trying to install nginx on my Linode server using steps provided in RailsCasts webcast but every time I am getting "500 Internal Server Error" error message after installing nginx. Per web-cast, if should show "Welcome to nginx!" page.
apt-get -y update
apt-get -y install curl git-core python-software-properties
# nginx
add-apt-repository ppa:nginx/stable
apt-get -y update
apt-get -y install nginx
service nginx start
Ref:
http://railscasts.com/episodes/335-deploying-to-a-vpsAny help is much appreciated. Is there any way to look into nginx log file to identify the issue?
Thanks