Created
February 21, 2020 04:44
-
-
Save v-thomp4/9d67275c102e3fe44453a8ac0e39b2d4 to your computer and use it in GitHub Desktop.
config http_proxy gitlab-ce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gitlab_rails['env'] = { | |
"http_proxy" => "http://proxy.example.com:9090", | |
"https_proxy" => "http://proxy.example.com:9090" | |
# "no_proxy" => ".yourdomain.com" # Wildcard syntax if you need your internal domain to bypass proxy | |
} | |
# Needed for proxying Git clones | |
gitaly['env'] = { | |
"http_proxy" => "http://proxy.example.com:9090", | |
"https_proxy" => "http://proxy.example.com:9090", | |
"no_proxy" => "unix" # Workaround for https://gitlab.com/gitlab-org/gitaly/issues/1447 | |
} | |
gitlab_workhorse['env'] = { | |
"http_proxy" => "http://proxy.example.com:9090", | |
"https_proxy" => "http://proxy.example.com:9090" | |
} | |
# If you use the docker registry | |
registry['env'] = { | |
"http_proxy" => "http://proxy.example.com:9090", | |
"https_proxy" => "http://proxy.example.com:9090" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment