Skip to content
Snippets Groups Projects
Unverified Commit 9736bb40 authored by Balasankar "Balu" C's avatar Balasankar "Balu" C
Browse files

Use node attribute in nginx config

parent ac68e839
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -77,7 +77,7 @@ http {
<% end -%>
 
upstream gitlab-workhorse {
server <%= "unix:" if node['gitlab']['gitlab-workhorse']['listen_network'] == "unix" %><%= GitlabWorkhorseHelper.new(node).listen_address %>;
server <%= "unix:" if node['gitlab']['gitlab-workhorse']['listen_network'] == "unix" %><%= node['gitlab']['gitlab-workhorse']['listen_addr'] %>;
}
 
<% if @gitlab_http_config %>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment