meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
git:gitlab:pages [2020/04/09 14:50] niziak |
git:gitlab:pages [2020/06/03 11:17] (current) niziak |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Pages ====== | ||
+ | |||
Support for domains and certificates is disabled. Ask your system's administrator to enable it. | Support for domains and certificates is disabled. Ask your system's administrator to enable it. | ||
Line 11: | Line 13: | ||
gitlab_pages['enable'] = true | gitlab_pages['enable'] = true | ||
gitlab_pages['inplace_chroot'] = true | gitlab_pages['inplace_chroot'] = true | ||
+ | pages_external_url "http://doc.gitlab.org" | ||
</file> | </file> | ||
Line 50: | Line 53: | ||
NOTE: read side effects of this solution: [[https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4243]] | NOTE: read side effects of this solution: [[https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4243]] | ||
+ | Another solution is to force requests to IP address - check solution below [[git:gitlab:pages#provide_url_to_gitlab_artifact_server]] | ||
===== SSL cert is not trusted ===== | ===== SSL cert is not trusted ===== | ||
Line 61: | Line 65: | ||
cat /opt/gitlab/embedded/ssl/certs/cacert.pem /usr/local/share/ca-certificates/my_own_CA.crt > /var/opt/gitlab/gitlab-rails/shared/pages/opt/gitlab/embedded/ssl/certs/cacert.pem | cat /opt/gitlab/embedded/ssl/certs/cacert.pem /usr/local/share/ca-certificates/my_own_CA.crt > /var/opt/gitlab/gitlab-rails/shared/pages/opt/gitlab/embedded/ssl/certs/cacert.pem | ||
</code> | </code> | ||
+ | |||
+ | Another solution is to force requests to IP address - check solution below [[git:gitlab:pages#provide_url_to_gitlab_artifact_server]] | ||
+ | |||
+ | ===== Provide URL to gitlab artifact server ===== | ||
+ | IT can only work if there is no redirect from ''http'' to ''https'' ! | ||
+ | <file ruby | /etc/gitlab/gitlab.rb> | ||
+ | gitlab_pages['artifacts_server'] = true | ||
+ | gitlab_pages['artifacts_server_url'] = 'http://127.0.0.1/api/v4/' | ||
+ | </file> | ||
+ | |||
+ | |||