Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I followed this tutorial: http://railsapps.github.com/tutorial-rails-mongoid-devise.html

Running nginx via proxy on port 8000. You can see it here.

Why is it listing the files in the /public dir? Also, if I try to go to any of the devise uris, it shows the Nginx 404, and not the rails 404...could this be a passenger issue?

I'm new to server admin/rails. So it could be an nginx issue OR rails config. Any advice for a rails student/zombie?

Part of my problem is that I don't know much about error logs. How do I check nginx/apache/rails logs for errors?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Kevin,

It looks like Apache maybe misconfigured. Upon clicking one of the links in the file list it tried to redirect it to,

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /error.log.

Reason: DNS lookup failure for: rails.pixelcraftwebdesign.com:8000error.log

You can add rails.pixelcraftwebdesigns.com to /etc/hosts but it looks like a trailing / might be missing on your proxy_pass directive.

share|improve this answer
    
That's just an apache thing. Try pixelcraftwebdesign.com:8000. –  Kevin Brown Mar 26 '12 at 1:46
    
^^IT SHOULD WORK CORRECTLY FROM THAT ADDRESS!^^ –  Kevin Brown Mar 26 '12 at 1:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.