From 47ee75d7800eeaa9a151fb24e53ab79ca1430373 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 20:12:56 +0000 Subject: [PATCH 1/2] build: bump nginxproxy/forego from 0.17.3-debian to 0.18.1-debian Bumps nginxproxy/forego from 0.17.3-debian to 0.18.1-debian. --- updated-dependencies: - dependency-name: nginxproxy/forego dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Dockerfile.alpine | 2 +- Dockerfile.debian | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 3234807..ffdd52c 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,6 +1,6 @@ FROM nginxproxy/docker-gen:0.11.1 AS docker-gen -FROM nginxproxy/forego:0.17.3 AS forego +FROM nginxproxy/forego:0.18.1 AS forego # Build the final image FROM nginx:1.25.3-alpine diff --git a/Dockerfile.debian b/Dockerfile.debian index b170653..2d767fe 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -1,6 +1,6 @@ FROM nginxproxy/docker-gen:0.11.1-debian AS docker-gen -FROM nginxproxy/forego:0.17.3-debian AS forego +FROM nginxproxy/forego:0.18.1-debian AS forego # Build the final image FROM nginx:1.25.3 From beeb80732aba685cd4534facbe4d5477acf8350b Mon Sep 17 00:00:00 2001 From: Nicolas Duchon Date: Mon, 25 Dec 2023 21:19:02 +0100 Subject: [PATCH 2/2] docs: mention color disabling --- docs/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/README.md b/docs/README.md index b2f87c4..f59d2aa 100644 --- a/docs/README.md +++ b/docs/README.md @@ -674,6 +674,18 @@ By default the nginx configuration `upstream` blocks will use this block's corre Please note that using regular expressions in `VIRTUAL_HOST` will always result in a corresponding `upstream` block with an SHA1 name. +### Disabling colors in the log output + +To remove colors from the log output, set the [`NO_COLOR` environment variable to any value other than an empty string](https://no-color.org/) on the nginx-proxy container. + +```console +docker run --detach \ + --publish 80:80 \ + --env NO_COLOR=1 \ + --volume /var/run/docker.sock:/tmp/docker.sock:ro \ + nginxproxy/nginx-proxy +``` + ### Troubleshooting If you can't access your `VIRTUAL_HOST`, inspect the generated nginx configuration: