diff options
author | Ben Anderson <benanderson@acidic.co.nz> | 2019-05-27 15:54:31 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-05-27 15:54:31 +0000 |
commit | f98b1971cb1b39c8fb4f13783817d325495567e5 (patch) | |
tree | 9867a0d945133b671b235457da957f8cec45c11d | |
parent | 450f684474a6c7bb4221ac973bc850b59891719d (diff) | |
download | gitlab-ce-f98b1971cb1b39c8fb4f13783817d325495567e5.tar.gz |
Add documentation for using http_proxy with GitLab Pages.
-rw-r--r-- | doc/administration/pages/index.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/administration/pages/index.md b/doc/administration/pages/index.md index 9945bd02f26..3a7ca517d56 100644 --- a/doc/administration/pages/index.md +++ b/doc/administration/pages/index.md @@ -291,6 +291,20 @@ Pages access control is disabled by default. To enable it: 1. [Reconfigure GitLab][reconfigure]. 1. Users can now configure it in their [projects' settings](../../user/project/pages/introduction.md#gitlab-pages-access-control-core-only). +### Running behind a proxy + +Like the rest of GitLab, Pages can be used in those environments where external +internet connectivity is gated by a proxy. In order to use a proxy for GitLab +pages: + +1. Configure in `/etc/gitlab/gitlab.rb`: + + ```ruby + gitlab_pages['http_proxy'] = 'http://example:8080' + ``` + +1. [Reconfigure Gitlab][reconfigure] for the changes to take effect. + ## Activate verbose logging for daemon Verbose logging was [introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/2533) in |