Nginx + Rails (Thin Server) - Double Bad Gateway Problem
nginx-forum at nginx.us
Thu Mar 29 16:43:12 UTC 2012
I've discovered that the configuration in rails systemintegration /
production environment was different from development.
So, if someone called a URL that wasn't routable, the server responded
empty response instead of sending a 404.
When I switched the config, the server started to send 404 and Nginx
# Show exception templates (must be on to launch 404 when invalid route
config.action_dispatch.show_exceptions = true
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,224548,224617#msg-224617
More information about the nginx