Improved Maintenance Mode for All Apps
Posted almost 5 years ago by Adam
The improved maintenance mode we described last month is now standard for all existing and new apps.
This new maintenance mode is faster and much more scalable, particularly for apps with more than fifty dynos. It handles maintenance mode at the HTTP router, providing an instantaneous response for turning maintenance mode on or off regardless of the size of your app.
It uses a standard page which serves with an HTTP 503 code. You can use the Custom Error Pages add-on to provide your own maintenance page to the router.
(If you preferred the old maintenance mode, you can manually add it to your app by installing this middleware and setting a MAINTENANCE config var.)
Read the docs for usage instructions on the new maintenance mode.