I need to put my app into "maintenance mode" while performing a database migration. During this time the app must serve a 503 response to all requests: non-503 responses are damaging to SEO.
Implementing maintenance mode myself is currently impossible, because deliberate 503 responses are swallowed by the reverse proxy and/or Cloudflare.