Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dafnik/maintenance
https://github.com/dafnik/maintenance
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dafnik/maintenance
- Owner: Dafnik
- License: mit
- Created: 2024-02-01T12:43:18.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-01T13:05:04.000Z (11 months ago)
- Last Synced: 2024-11-24T19:49:33.941Z (30 days ago)
- Language: HTML
- Homepage: https://dafnik.github.io/maintenance/
- Size: 2.02 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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;
}
```