Changing Passenger Default Error Page for Nginx
Currently if there's a problem launching a Rails app on our server, users are taken to a Passenger error page with an error like "Ruby (Rack) application could not be started".
Is it possible to customize this error page and display something else so users of a live site don't see this?
I'm using nginx for the server.
To disable the startup error message specify the following line in your config file:
You can place this inside the http block, server block or location block. If you place it in the http block it would disable it by default for all of the virtual hosts on that server. You can however override the setting in the server block by placing the same option inside a http block.