Answer the question
In order to leave comments, you need to log in
How to proxy gitlab-runner to gitlab?
Good day, tell me, please,
there are two subnets in which access is closed to each other and you need to open it, in one gitlab itself, in the other several gitlab-runner (executor shell) are now deployed, nginx was raised to facilitate access organization, with the configuration :
stream {
upstream gitlab {
server gitlab.test.local:80 max_fails=3 fail_timeout=60s;
}
server {
listen 10100;
proxy_connect_timeout 60s;
proxy_timeout 180s;
proxy_pass gitlab;
}
Answer the question
In order to leave comments, you need to log in
Saw through access from runners to the server API without proxies and other heresy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question