meta data for this page
  •  

This is an old revision of the document!


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

Enable gitlab pages

Register wildcard domain or mock it on your main DNS server to resolve to your Gitlab server IP:

*.doc.gitlab.org
| /etc/gitlab/gitlab.rb
gitlab_pages['enable'] = true
gitlab_pages['inplace_chroot'] = true

Enable artifact preview

By default artifact created from build are downloadable (PDFs are shown im embedded browser!). There is a notice below each artifact:

The source could not be displayed because it is stored as a job artifact.

There is possibility to enable Gitlab pages feature to render view of artifact. Feature is implemented in weird way:

  • when enabled, there is possibility to preview artifact by redirecting it special link on Gitlab pages server
  • on request Gitlab pages server downloads it from Gitlab server and renders it

Headline

SSL cert is not trusted

Put your own CA cert to /etc/gitlab/trusted-certs