문제

Heroku can display custom maintenance page:

heroku config:set MAINTENANCE_PAGE_URL=http://some_server/my_page.html

This requires presence of some website where the page will be always online.

Could the maintenance page be loaded into Heroku once and forever?

도움이 되었습니까?

해결책

No, since there will be no way for the Heroku router to show it if there is a maintenance problem on Heroku.

The canonical way is to put that page on Amazon S3, or any other provider that can serve static pages.

다른 팁

goto app-> setting -> reveal config vars add new row key =MAINTENANCE_PAGE_URL value = any url u want to open

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top