mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2025-12-08 17:36:24 +00:00
When the healthcheck feature introduced, the script were generated on build time and url was fixed to "http://localhost/-/liveness". See pull request #2102 nginx is configured to redirect all http traffic to https when `GITLAB_HTTPS` is enabled. (see https://github.com/sameersbn/docker-gitlab/blob/ac9e1fe/assets/runtime/config/nginx/gitlab-ssl#L41-L54), `--location` option is set to follow the redirection. See pull request #2165 Health check script generation has been ported to the runtime, allowing us to dynamically generate health check URLs while referencing configuration parameters. See #2338 If configured correctly, the redirect will not occur and the option can be removed. Original removal suggestion by @Gaibhne , additional (historical) research by @kkimurak. Co-authored-by: Kazunori Kimura <kkimura@ims.ac.jp>