GitLab pages put project_slug at beginning of the url
I am trying to set up an GitLab pages on our CE instance using 14.10.2. I have a CNANME record of pages.main.x.com pointing to our instance gitlab.main.x.com I also have a wildcard certificate for main.x.com
gitlab.rb looks like this
external_url "https://gitlab.main.x.com" # external_url here is only for reference
pages_external_url "https://pages.main.x.com" # not a subdomain of external_url
pages_nginx['redirect_http_to_https'] = true
pages_nginx['ssl_certificate'] = "/etc/letsencrypt/live/main.x.com.pem"
pages_nginx['ssl_certificate_key'] = "/etc/letsencrypt/live/main.x.privkey"
echo | openssl s_client -connect pages.main.x.com:443 -showcerts > still shows me that it uses gitlab.main.x.com certificate and the URL in the Project/Pages is https://reva.pages.main.x.com/vis_test instead of https://pages.main.x.com/reva/vis_test
Edited by oneincontrol