- Allow override of
large_client_header_buffers
viaNGINX_LARGE_CLIENT_HEADER_BUFFERS
environment variable. Keeping the default to4 8k
if not set (docs).
- Double dispatch
nginx-sidecar
image to Dockerhub and our private ECR Repo in ourplatform
account.
- Remove
curl
install from Dockerfile and usewget
instead which already exists in the image
- Bump Nginx to version 1.27 from 1.23. and cURL (
8.9.1-r1
)
- Allow override of
client_max_body_size
viaNGINX_CLIENT_MAX_BODY_SIZE
environment variable. Keeping the default to 5MB if not set.
- Allow override of
keepalive_timeout
viaNGINX_KEEPALIVE_TIMEOUT
environment variable. Default is 20s (which is different than the Nginx default of 75s) for historical reasons.
- Exclude query params from logging path by default with optional override. Set
NGINX_LOGS_INCLUDE_QUERY_PARAMS=true
to enable query params in logs.
- added codeowners and bumped to curl 8.5.0-r0
- enable master branch publishing to dockerhub
- Added status code access log filtering. Set
NGINX_LOGS_INCLUDE_STATUS_CODE_REGEX=^[45]
and only see 4xx and 5xx request logs. Default all status codes are logged.
- Moved to slimmer, Alpine base image to shrink the size of the sidecar.
- Added boolean
publish_to_docker_hub
parameter for CirleCI. Defaults tofalse
. - Added CI/CD test that documents how to use the Sidecar.
- Bumped to
nginx:1.23.3
and used script inside of deliveroo/circleci to push multiple tags to Docker Hub.
- Added
:latest
tag
- Bumped to
nginx:1.23.2
- Enabling the support of custom timeout for proxy requests
- New variable is: PROXY_TIMEOUT- it sets proxy_connect_timeout, proxy_send_timeout, proxy_read_timeout values. (default: 60s)
- Enabling ngnix status for detailed monitoring.
- New variables are:
NGINX_STATUS_PORT
(default81
) a port to run the status module onNGINX_STATUS_ALLOW_FROM
(defaultall
) IP, CIDR,all
for the nginx config'sallow
statement (http://nginx.org/en/docs/http/ngx_http_access_module.html)
- Allow specifying the app hostname to proxy to.
- Increase the size of the buffer that stores the response headers to 8K.
- Add
$upstream_status
to the nginx access log line
- Add
--fail
to the curl health check. This causes curl to return non-zero exit codes even if the http request completes but the response code represents an error. - Add
--verbose
to the curl health check. This helps us debug any application responses if the server does start, but with errors.
- Use
$request_method
and$request_uri
instead of the combined$request
.
- Log
$request_time
; request processing time in seconds (millisecond resolution). - Stop logging unusable information, e.g. private remote IPs, proxy path information.
- Allow
client_body_buffer_size
to be overridden.
- Add
--max-time
to the curl health check.
- Wait for the application to pass healthchecks before listening (and accepting) downstream healthchecks.
- Pass original request scheme to consuming application
- Pass original request hostname to consuming application
- Initial version