Apache settings for gitlab-pages


I’m using GitLab CE as my company development repository, and I’ld like to use gitlab-pages to serve some static docs.

I’ve setup CI integration for pages, and it works (I can see site address in the project “Pages” settings, CI job is OK)

I’m using apache 2 as reverse proxy, so NGINX is disabled, DNS is configured : CNAME record for “docs.example.org” and A record for “*.docs.example.org”, both pointing to the gitlab server, named Ulysse.

The Gitlab server record in the DNS is “gitlab.example.org”, it’s served through apache with a VirtualHost configuration.

How can I set-up apache to serve those pages ?

Thanks fo your help !

Hi, have you solved this? I’m trying to do the same.