We have multiple Gitlab projects setup with their own Gitlab pages setup, running on one Gitlab server instance.
I am not expert on Gitlab , but is there way to configure only one of our existing GitLab pages urls for HTTPS protocol, without affecting any other Gitlab Pages/project urls?
The current url for specific project is : http://motion.gitlab.metmom.mmih.biz/motion-ui/index.html
but would like it to be accessible via https://motion.gitlab.metmom.mmih.biz/motion-ui/index.html
current behaviour when browsing to https:// version of url , I sign in and get the Gitlab 404
According to documentation we should follow the below instructions:
In /etc/gitlab/gitlab.rb specify the following configuration: pages_external_url 'https://example.io' pages_nginx['redirect_http_to_https'] = true pages_nginx['ssl_certificate'] = "/etc/gitlab/ssl/pages-nginx.crt" pages_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/pages-nginx.key"
as well as other config according to documentation:
However I believe all of these configs would affect all projects’ pages (Gitlab Pages) that is setup on that instance, meaning on instance wide level
unless , if the gitlab_pages[‘external_https’] config will not affect HTTP , but additionally allow HTTPS as well , meaning it wont force all Pages urls from HTTP to HTTPS on an instance level?
Currently we have the following setup in our /etc/gitlab/gitlab.rb file:
gitlab_pages[‘enable’] = true
Please can you help assist if this type of config is possible to apply to only one of our Gitlab pages urls , as supposed to doing the config instance wide?
Any help will be appreciated