On 19 Jul 2010, at 17:25, Pål Bergström wrote:

I run Nginx not Apache. For development on localhost, so I don't need
dns.

I don't get an error in the log file. Just that the browser can't find
the server.

So what did you do then? Point the top root of the nginx server to your Rails' public folder?

Because as soon as you fill in server_name in your configuration, you need to have a host resolve to your server in order for Passenger to serve the page.

server { listen 80; server_name www.mycook.com; root /webapps/mycook/ public; passenger_enabled on; }

As has been suggested, things could well be screwed up because of permissionst too.


Best regards

Peter De Berdt

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to