Our current GitLab(s) use SSL, so our configuration management sets that up, also in test environments.
Now I’m trying to set adapt it so we can set up GitLab behind a load-balancer that does SSL termination (it says here: Reference architecture: up to 3,000 users | GitLab that GitLab can run in an environment like that).
So I’ve modified the
/etc/gitlab/gitlab.rb that our configuration management puts in, so it doesn’t reference the certificate/key, but now
gitlab-ctl reconfigure puts
ssl_certificate /etc/gitlab/ssl/<hostname>.crt; ssl_certificate_key /etc/gitlab/ssl/<hostname>.key;
/var/opt/gitlab/nginx/conf/gitlab-http.conf, and as those files don’t exist (even the directory doesn’t) that means nginx won’t start. What am I doing wrong that causes
gitlab-ctl reconfigure to produce that silly configuration?