Handle 502s from the LMS during maintenance

Description

When we take planned downtime, we put up a maintenance window page and handle API endpoints differently by returning 502s

It would be great to notify users (such as those logging in, or trying to fetch new data) that we're down and try again later.

There are docs/code for this, and it should be possible to set up a sandbox with the maintenance page up to test how it behaves. We can help with setting up that sandbox for testing, just give us a heads up so we can make sure someone is available.

https://openedx.atlassian.net/wiki/spaces/EdxOps/pages/797081605/Enable+Disable+Maintenance+Page+for+LMS+Studio+and+workers
https://github.com/edx/configuration/blob/master/playbooks/roles/nginx/templates/edx/app/nginx/sites-available/lms.j2#L66-L74

Steps to Reproduce

None

Reason for Variance

None

Release Notes

None

Assignee

Unassigned

Reporter

Kevin Falcone

Labels

None

Customer

None

URL

None

Groups with Read-Only Access

None

Actual Points

None

Reach

None

Impact

None

Open edX Discourse Thread

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Contributor Name

None

Blended Project Status Page

None

edX Squad

None

Product Rollout Framework

None

Content & Partner Success Lead

None

Marketing Lead

None

Learning Lead

None

Support Lead

None

Priority

Unset