A static HTML page for fetching and displaying a "website in maintenance mode" message for a target origin.
Find a file
Victor Westerlund 391d57971e fix: remove custom proxy header forwarding to upstream from example nginx config (#3)
This PR removes the custom `X-` headers from the example nginx config. It causes problems for certain upstreams that will try to redirect the connecting client to `localhost` instead of the real `Host`

Reviewed-on: #3
2026-07-27 10:24:22 +02:00
example.conf fix: remove custom proxy header forwarding to upstream from example nginx config (#3) 2026-07-27 10:24:22 +02:00
index.html refactor: fetch maintenance status for current origin from static asset (#1) 2026-07-25 09:02:55 +02:00
README.md refactor: fetch maintenance status for current origin from static asset (#1) 2026-07-25 09:02:55 +02:00

Maintenance Status Page

Single-file static maintenance page for nginx proxy failures.

Deploy index.html to /var/www/maintenance/index.html. When nginx cannot reach the configured upstream, example.conf shows how to serve this file as a 503 fallback.

The page fetches https://blob.vlw.se/status.json, checks the current origin, supports parent-domain matches like example.srv.vlw.se -> srv.vlw.se, and falls back to the debug key.

Example status file:

{
	"srv.vlw.se": true,
	"debug": false
}