I am new to Gitlab CE 16.x hosting and so far, it works great for us.
Currently, our Gitlab is configured on a public-facing address https://XX.YY.ZZ.WW:8443. The Letsencrypt certificate for the associated domain name on this address was obtained successfully when I initially installed the machine. Port 80 is opened on this machine, in addition to 8443 for SSL, and the HTTP-01 challenge is apparently carried out successfully.
Now, I would like people surfing to http://XX.YY.ZZ.WW/ (just this root http url) to be redirected to a custom https:// URL, say, https://AA.BB.CC.DD/?redirected, not https://XX.YY.ZZ.WW:8443/. Obviously, I still want the HTTP-01 challenge to work for XX.YY.ZZ.WW over port 80 (note the certificate for AA.BB.CC.DD is not of any worry here).
How can I do that?
Thanks for your help.