Commit f610716c authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'docs-dep-proxy-proxy' into 'master'

Docs for using the dependency proxy behind a proxy

See merge request gitlab-org/gitlab!83634
parents e7b3ed38 31dbd35b
...@@ -264,3 +264,15 @@ Feature.disable(:dependency_proxy_for_private_groups) ...@@ -264,3 +264,15 @@ Feature.disable(:dependency_proxy_for_private_groups)
# Re-enable the authentication # Re-enable the authentication
Feature.enable(:dependency_proxy_for_private_groups) Feature.enable(:dependency_proxy_for_private_groups)
``` ```
## Using the dependency proxy behind a proxy
1. Edit `/etc/gitlab/gitlab.rb` and add the following lines:
```ruby
gitlab_workhorse['env'] = {
"http_proxy" => "http://USERNAME:PASSWORD@example.com:8080",
"https_proxy" => "http://USERNAME:PASSWORD@example.com:8080"
```
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment