expose_url
When https is configured in the URL, also use that, and do not set it to http. Closes gitlab-org/gitlab-ee#5217