Posts

Showing posts with the label capistrano

Ngnix still seeing welcome screen after configuration

Ngnix still seeing welcome screen after configuration I have set up and deployed an application using Capistrano, Nginx, Passenger and set up the server and ngnix config file, however, I'm still seeing the Welcome to ngnix welcome screen. Welcome to ngnix Here is what I have in the /etc/nginx/sites-enabled/default file /etc/nginx/sites-enabled/default server { listen 80; listen [::]:80 ipv6only=on; server_name IP; passenger_enabled on; rails_env production; root /home/poladmin/poetry-out-loud-v2/current/public/; # redirect server error pages to the static page /50x.html error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } } I have restarted Ngnix but I'm still not seeing the website. 1 Answer 1 Sounds like Nginx is serving you the content from it's installati...