Commit 2f09bc5ae35f33221d9d09029f04be7441da2cb3
1 parent
e09a8b65
Exists in
master
Make gitlab-www the owner of NGINX directories
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/nginx.rb
... | ... | @@ -26,7 +26,7 @@ nginx_log_dir = node['gitlab']['nginx']['log_directory'] |
26 | 26 | nginx_log_dir, |
27 | 27 | ].each do |dir_name| |
28 | 28 | directory dir_name do |
29 | - owner node['gitlab']['user']['username'] | |
29 | + owner node['gitlab']['web-server']['username'] | |
30 | 30 | mode '0700' |
31 | 31 | recursive true |
32 | 32 | end | ... | ... |