Maintenance Template
The Maintenance Template is the HTML page your visitors see when one of your projects is put into Maintenance Mode. It is set once at the account level and applies to every project in the account.
The page is Settings → Maintenance template.
Admin only. Maintenance Template is visible only to Owners and Admins. Other Settings pages are shown based on your role’s permissions.
Editing the template #
The editor accepts plain HTML. You can use any HTML you like — inline CSS, embedded SVG, custom fonts hosted externally — but JavaScript is recommended only for cosmetic touches. Visitors hitting a maintenance page should see a clear message in the first second of loading.
The page shows the HTML editor and a live preview of the template. Save from the Unsaved changes bar; the template applies across the whole account on the next request.
Reset to default #
If you want to revert to the built-in template that ships with Depfloy, click Reset to Default in the page header. The default template is a self-contained HTML file (no external dependencies, no JavaScript) that simply tells the visitor the site is temporarily unavailable.
Tips #
- Keep it static. The maintenance page is rendered without your application running, so it cannot read from your database or call your API.
- Self-host any assets you want to be reliable. A maintenance page that depends on a CDN you are also breaking is a bad day.
- Test it. The live preview shows the HTML as written; to see it served from your own domain, toggle Maintenance Mode on a non-production project for a moment.