I noticed some issues/quirks with the env vars and I would normally submit a PR, but I'm not sure how to handle things in terms of backwards compatibility etc.
Is the NGIX_HOST env var supposed to be named NGINX_HOST? not a big issue, but might be confusing for some.
In the README, the example docker run command provides --env NGIX_HOST="http://localhost/status/format/json" (with appended status path), but in the docker-entrypoint.sh it has default_status="$NGIX_HOST/status/format/json" (which, again, appends the status path). I think it should either have --env NGINX_STATUS="http://localhost/status/format/json" or --env NGIX_HOST="http://localhost"
@MrMMorris Thanks.
We have not released stable version at this moment, so we could consider simple and correctness over backwards compatibility, and PR would be welcome :-)
Me again.
I noticed some issues/quirks with the env vars and I would normally submit a PR, but I'm not sure how to handle things in terms of backwards compatibility etc.
Is the NGIX_HOST env var supposed to be named NGINX_HOST? not a big issue, but might be confusing for some.
In the README, the example docker run command provides
--env NGIX_HOST="http://localhost/status/format/json"
(with appended status path), but in thedocker-entrypoint.sh
it hasdefault_status="$NGIX_HOST/status/format/json"
(which, again, appends the status path). I think it should either have--env NGINX_STATUS="http://localhost/status/format/json"
or--env NGIX_HOST="http://localhost"