I tried to enable gitlab-pages on self-hosted Omnibus GitLab instance by following GitLab Pages administration | GitLab instructions.
I started with the minimal set of requirements to enable the gitlab-pages but no. lock.
external_url “https://gitlab.example.com” # external_url here is only for reference
pages_external_url “https://pages.example.com” # not a subdomain of external_url
Even I’m not seeing any error in gitlab logs. Is there any other way to enable the gitlab-pages feature in gitlab dashboard or I’m missing any other setting.
for HTTPS you also need to setup TLS certificate → GitLab Pages administration | GitLab
Thanks @balonik for the quick reply.
The load balancer should handle https traffic for us and forward it as http. Do you think we still requires TLS certs?
How to set it up if you have TLS-terminating LB is right there as well GitLab Pages administration | GitLab
Actually we tried the same as well but still no luck.
external_url "https://gitlab.example.com" # external_url here is only for reference
pages_external_url "https://pages.example.com" # not a subdomain of external_url
pages_nginx['enable'] = true
pages_nginx['listen_port'] = 80
pages_nginx['listen_https'] = false
pages_nginx['redirect_http_to_https'] = true
Gitlab dashboard still showing the gitlab-pages feature is disabled.
There were bugs in the past were the feature was disabled in the dashboard, but it actually worked. Have you tried to use it?
Ohkay. On hitting the pages_external_url landed to the project’s home page. Any pointers from this behaviour ?
Also, I run the pipeline after reconfigure step but only pages job executed. I think the other job
pages:deploy is expected to execute right?