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.
- Flag
--default-http-code
for theserve
subcommand (404
is used by default instead of200
, environment nameDEFAULT_HTTP_CODE
) #41
- Go updated from
1.17.1
up to1.17.5
- Template
cats
#31
referer
field in access log records- Flag
--default-error-page
for theserve
subcommand (404
is 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-page
flag (HTTP code 200, when a page code exists)
- Application rewritten in Go
- Nginx health-check endpoint (
/health/live
) and dockerfileHEALTHCHECK
to 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.18
up to1.19
in docker image - Docker image now uses default
nginx
entrypoint scripts and command
- Support for
linux/arm64/v8
,linux/arm/v6
andlinux/arm/v7
platforms for docker image - Random template selecting (use
random
as a template name) for docker image
- Template
shuffle
#4
can't create directory '/opt/html/nginx-error-pages'
error #3
418
status code error page- Set
server_tokens off;
innginx
server configuration
- By default
nginx
in docker container returns 404 http code instead 200 when/
requested
- Default value for
TEMPLATE_NAME
isghost
now
- Environment variable
DEFAULT_ERROR_CODE
support in docker image
- Templates
l7-light
andl7-dark
- Environment variable
DEFAULT_ERROR_CODE
support in docker image
- Repository (not docker image) renamed from
error-pages-docker
toerror-pages
configuration.json
renamed toconfig.json
- Makefile contains new targets (
install
,gen
,preview
) - Generator logging messages
docker-compose
for development
- Readme file content #1
- First project release