Nginx and Passenger deploy issue

Posted by merlin on Stack Overflow See other posts from Stack Overflow or by merlin
Published on 2010-03-07T00:54:46Z Indexed on 2010/03/08 2:12 UTC
Read the original article Hit count: 273

Filed under:

Currently I can only get the default nginx page to come up on my domain name. I am pretty sure the error is either in the /etc/hosts file or the enginx.config file.

my /etc/hosts file is

127.0.0.1    localhost.localdomain    localhost
myip         server.mydomain.com  server

and nginx.config is:

    server {
       listen 80;
       server_name server.mydomain.com;
       root /whatever/pulic;
       passenger_enabled on;
       rails_env production;

I don't get any errors in the log. Incidentally I can run mongrel and on mydomain:3000 see the application there.

© Stack Overflow or respective owner

Related posts about ruby-on-rails