When you are using Heroku, you might want to have a custom maintenance page for your app.
The standard maintenance page from Heroku doesn’t look good and of course doesn’t use your own design or a custom message for your users.
With this easy steps you enable your own costumized Maintaince pages for Heroku.
How to
- Download your complete assets by using for example this Firefox Addon
- Upload the files to an static file hoster like Amazon S3
- Activate via Heroku CLI, type:
$ heroku config:set \ MAINTENANCE_PAGE_URL=//s3.amazonaws.com/<your_bucket>/your_page.html
- To test your maintenance page, type:
$ heroku maintenance:on
You also can activate it on Heroku by adding the Config Variables for MAINTENANCE_PAGE_URL
under Settings.