Pass listen_network of gitlab_workhorse to the nginx template.
This commit is contained in:
parent
89b7b47d2b
commit
51b20e27ff
|
@ -31,7 +31,7 @@
|
|||
###################################
|
||||
|
||||
upstream gitlab-workhorse {
|
||||
server unix:<%= node['gitlab']['gitlab-workhorse']['listen_addr'] %>;
|
||||
server <%= "unix:" if node['gitlab']['gitlab-workhorse']['listen_network'] == "unix" %><%= node['gitlab']['gitlab-workhorse']['listen_addr'] %>;
|
||||
}
|
||||
|
||||
<% if @https && @redirect_http_to_https %>
|
||||
|
|
Loading…
Reference in New Issue