Commit 9669f9381bb932321b9bcae655a2716a1e4eb3c8

Authored by Jacob Vosmaer
1 parent a3b5b33a
Exists in master

Use the correct group for NGINX workers

files/gitlab-cookbooks/gitlab/templates/default/nginx.conf.erb
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 # erased! To change the contents below, edit /etc/gitlab/gitlab.rb 2 # erased! To change the contents below, edit /etc/gitlab/gitlab.rb
3 # and run `sudo gitlab-ctl reconfigure`. 3 # and run `sudo gitlab-ctl reconfigure`.
4 4
5 -user <%= node['gitlab']['web-server']['username'] %> <%= node['gitlab']['web-server']['username']%>; 5 +user <%= node['gitlab']['web-server']['username'] %> <%= node['gitlab']['web-server']['group']%>;
6 worker_processes <%= @worker_processes %>; 6 worker_processes <%= @worker_processes %>;
7 error_log stderr; 7 error_log stderr;
8 8