Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
31dbd35b
Commit
31dbd35b
authored
Mar 24, 2022
by
Ulises Fierro
Committed by
Nick Gaskill
Mar 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs for using the dependency proxy behind a proxy
parent
e7b3ed38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
doc/administration/packages/dependency_proxy.md
doc/administration/packages/dependency_proxy.md
+12
-0
No files found.
doc/administration/packages/dependency_proxy.md
View file @
31dbd35b
...
...
@@ -264,3 +264,15 @@ Feature.disable(:dependency_proxy_for_private_groups)
# Re-enable the authentication
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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment