(redirected from https://gitlab.com/gitlab-org/gitlab/issues/37432)
We have setup gitlab pages (omnibus) according to https://docs.gitlab.com/ce/administration/pages/#wildcard-domains-with-tls-support
With this setup (see below for the
gitlab.rb ) gitlab itself (i.e. the repositories) are served both through
https://git.embl.de as well as
https://embl-community.io. How do I ensure
embl-community.io only serves the gitlab pages and not Gitlab?
Due to the TLS setup, the browser does warn about
embl-community.io presenting the wrong certificate (from
git.embl.de ), but I feel it shouldn’t forward or listen on this address at all.
external_url "https://git.embl.de" pages_external_url "https://embl-community.io/" gitlab_pages['access_control'] = true pages_nginx['redirect_http_to_https'] = true pages_nginx['ssl_certificate'] = "/etc/gitlab/ssl/combined.pem" pages_nginx['ssl_certificate_key'] = "/etc/ssl/private/pages.key"