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.
Thanks
The users guide contains some good information on the various config options. There is an option to disable the friendly error pages which is what I think you may be seeing.
To disable the startup error message specify the following line in your config file:
passenger_friendly_error_pages off
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With