I am using Rails 3.2 with passenger + nginx. I want to show a nice custom 500 page page when the db server is down. I want to show something when the rails application cannot be started. Here is my nginx:
server { listen 80; server_name localhost; root /var/www/store/public; error_page 500 /500.html;
The above configuration does not work at all. When this happens, it is displayed only:
Internal Server Error (500)
Any idea?
source share