Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dafnik/maintenance


https://github.com/dafnik/maintenance

Last synced: 27 days ago
JSON representation

Awesome Lists containing this project

README

        

# Reusable error page

![Screenshot of the error page](./.github/screenshot.png)

## Customize
In the `index.html` you can change following values in the `` section.
* `contactEmail`
* `timeToRefreshInSeconds`
* `automaticRefresh`

## Setup
### NGINX
```shell
error_page 500 502 503 504 = @maintenance;
# error_page 500 = @maintenance;

location @maintenance {
root /path/of/this/directory;

try_files $uri /index.html =502;
}
```