router icon indicating copy to clipboard operation
router copied to clipboard

Custom "Site Maintenance" page

Open jayjun opened this issue 8 years ago • 3 comments

It'll be nice to be able to customise the blank "Site Maintenance" page, seen after deis maintenance:on.

Maybe a volume of static files can be mounted for nginx to read from. Not sure which volume type fits best?

jayjun avatar Jun 21 '17 16:06 jayjun

A simpler implementation would be (optional) support for a designated "maintenance app" to which all traffic for an app under maintenance can be routed.

krancour avatar Jun 26 '17 18:06 krancour

Heroku has a pretty simple solution of using config variables pointing to static page urls: https://devcenter.heroku.com/articles/error-pages#configure-your-application. So a user could set a config variable MAINTENANCE_PAGE_URL pointing to some static site to display.

From a cursory glance through the code base, this will require changes across multiple repos (there are probably more): controller, router model, router nginx config, workflow-cli

EDIT: Just realized Workflow is EOL... ☹️

chdsbd avatar Dec 13 '17 19:12 chdsbd

This issue was moved to teamhephy/router#9

Cryptophobia avatar Mar 13 '18 19:03 Cryptophobia