Gitlab pages with ce version and custom domain tls

Hello all,

i have a little trouble with gitlab pages.

It will not realy works. I use the gitlab ce omnibus installation on ubuntu 16.04 LTS with the latest gitlab version.
I use a wildcard ssl certi for my normal git domain.
this works all fine.
some users have now requestet for using gitlab pages.

i orderd a new domain and a secondary ip for the new domain.

My gitlab.rb i have add following entry

https://docs.gitlab.com/ee/administration/pages/index.html#custom-domains

pages_external_url "https://example.io"
nginx['listen_addresses'] = ['192.0.2.1']
pages_nginx['enable'] = false
gitlab_pages['cert'] = "/etc/gitlab/ssl/example.io.crt"
gitlab_pages['cert_key'] = "/etc/gitlab/ssl/example.io.key"
gitlab_pages['external_http'] = ['192.0.2.2:80', '[2001::2]:80']

when i do this, gitlab pages are down.

i tried the minimal setup

pages_external_url 'http://example.io'


https://youtu.be/dD8c7WNcc6s


the video tutorial is a little bit confused, it will not work 

In the Admin Dasboard i have an entry with gitlab pages an the button is green, when i use the minimal setup. Klick in to gitlab pages i see my domain name ip and port 443. 



![grafik|408x48](upload://hWaR5gUNnUiRw2ximNmlmFIy9fB.png) 



On my Test Projekt i see following 

Support for domains and certificates is disabled. Ask your system's administrator to enable it. 

![grafik|690x181](upload://uzlM1qBIFhQkLVrfYyMeJ90NF2s.png) 

How can i enable it for projects?


under Admin => Settings = >Preferences => Pages i have following options.


![grafik|690x342](upload://a98j5gnSusfLNWCfWP5DuqFJ2Fi.png) 


What´s wrong with my config? I missed something in the manual?
i am a little bit confused about gitlab pages.
1 Like