All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Go updated from
1.18up to1.19
- Replaced
fonts.googleapis.combyfonts.bunny.netregarding GDPR compliance #131
- Error pages now translated into Spanish 🇪🇸 #124
- Error pages are now translated into German 🇩🇪 #115
- Error pages now translated into Dutch 🇳🇱 #104
- Error pages now translated into Portuguese 🇵🇹 #103
- Go updated from
1.18.0up to1.18.1
- Possibility to disable error pages auto-localization (using
--disable-l10nflag for theserve&buildcommands or environment variableDISABLE_L10N) #91
- User UID/GID changed to the numeric values in the dockerfile #92
- Fix translation 🇫🇷 [#86]
- Error pages now translated into 🇫🇷 #82
- Template
matrix#81
- Localization mistakes #81
- Template
shuffle - Localization mistakes
- Error pages now translated into 🇺🇦 and 🇷🇺 languages #80
- Template
connection#79
- Dark mode for
app-downtemplate
- The index page for built error pages now supports a dark theme
- Template
app-down#74
- Go updated from
1.17.6up to1.18.0
- Logs includes request/response headers now #67
- Possibility to proxy HTTP headers from the requests to the responses (can be enabled using
--proxy-headersflag for theservecommand or environment variablePROXY_HTTP_HEADERS, headers list should be comma-separated) #67 - Template
lost-in-space#68
- Template
l7-lightuses the dark colors in the browsers with the preferred dark theme
- Possibility to change the template to the random once a day using "special" template name
random-daily(or hourly, usingrandom-hourly) #48
- Go updated from
1.17.5up to1.17.6
HostandX-Forwarded-ForHeader to error pages #61
- Performance issue, that affects template rendering. Now templates are cached in memory (for 2 seconds), and it has improved performance by more than 200% #60
- It is now possible to use golang-tags of templates in error page templates and formatted (
json,xml) responses #49 - Health-check route become
/healthz(instead/health/live, previous route marked as deprecated) #49
- The templates contain details block now (can be enabled using
--show-detailsflag for theservecommand or environment variableSHOW_DETAILS=true) #49 - Formatted response templates (
json,xml) - the server responds with a formatted response depending on theContent-Type(andX-Format) request header value #49 - HTTP header
X-Robots-Tag: noindexfor the error pages #49 - Possibility to pass the needed error page code using
X-CodeHTTP header #49 - Possibility to integrate with ingress-nginx #49
- Metrics HTTP endpoint
/metricsin prometheus format #54
- Potential race condition (in the
pick.StringsSlicestruct) #49
- Flag
--default-http-codefor theservesubcommand (404is used by default instead of200, environment nameDEFAULT_HTTP_CODE) #41
- Go updated from
1.17.1up to1.17.5
- Template
cats#31
refererfield in access log records- Flag
--default-error-pagefor theservesubcommand (404is used by default, environment nameDEFAULT_ERROR_PAGE)
- The source code has been refactored
- The index page (
/) now returns the error page with a code, declared using--default-error-pageflag (HTTP code 200, when a page code exists)
- Application rewritten in Go
- Nginx health-check endpoint (
/health/live) and dockerfileHEALTHCHECKto utilise (thx @modem7) #22, #23
- Nginx updated up to
1.21(from1.19)
- Template
hacker-terminal[#13] - HTML comments with error code and description into each template (header and footer, it seems more readable for curl usage)
- Template
noise#10
- File permissions in docker image
- Repository files structure
- Nginx updated from
1.18up to1.19in docker image - Docker image now uses default
nginxentrypoint scripts and command
- Support for
linux/arm64/v8,linux/arm/v6andlinux/arm/v7platforms for docker image - Random template selecting (use
randomas a template name) for docker image
- Template
shuffle#4
can't create directory '/opt/html/nginx-error-pages'error #3
418status code error page- Set
server_tokens off;innginxserver configuration
- By default
nginxin docker container returns 404 http code instead 200 when/requested
- Default value for
TEMPLATE_NAMEisghostnow
- Environment variable
DEFAULT_ERROR_CODEsupport in docker image
- Templates
l7-lightandl7-dark
- Environment variable
DEFAULT_ERROR_CODEsupport in docker image
- Repository (not docker image) renamed from
error-pages-dockertoerror-pages configuration.jsonrenamed toconfig.json- Makefile contains new targets (
install,gen,preview) - Generator logging messages
docker-composefor development
- Readme file content #1
- First project release