Commit 85cf8df92af62171ae14838d8b5ad796d1fb1255
1 parent
cd690917
Exists in
master
and in
17 other branches
Get Unicorn socket from attributes
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/nginx.rb
... | ... | @@ -44,7 +44,8 @@ template nginx_vars[gitlab_http_config] do |
44 | 44 | mode "0644" |
45 | 45 | variables(nginx_vars.merge( |
46 | 46 | { |
47 | - :fqdn => node['gitlab']['gitlab-rails']['external_fqdn'] | |
47 | + :fqdn => node['gitlab']['gitlab-rails']['external_fqdn'], | |
48 | + :socket => node['gitlab']['unicorn']['socket'] | |
48 | 49 | } |
49 | 50 | )) |
50 | 51 | notifies :restart, 'service[nginx]' if OmnibusHelper.should_notify?("nginx") | ... | ... |
files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb