I want to run my GitLab runner behind a proxy server and I have already installed cntlm and config it with my proxy server the next step I'm trying to do is configure docker HTTP/HTTPS proxy variables as above:
[Service]
Environment=“HTTP_PROXY=http://*.*.*.*:port”
Environment=“HTTPS_PROXY=https://*.*.*.*:port”
Environment=“NO_PROXY=localhost,127.0.0.1”
My first question is what should I put in port? Should it be my proxy server port or 80/443 or 3128?
Thanks.
CodePudding user response:
The solution was running above command line:
gitlab-runner run
CodePudding user response:
If you are running with a local proxy, then the port should be 3128.
It is from that port the local proxy will redirect to the actual NTLM proxy.
I have been using nrwl/nx
for years, with as environment variables:
HTTPS_PROXY=http://127.0.0.1:3128
HTTP_PROXY=http://127.0.0.1:3128