Commit 2dbecad6c40eda0145abf7af2460de7f18a47e6e
1 parent
3c94b587
Exists in
master
and in
13 other branches
Write nginx.pid in /var/opt/gitlab/nginx
It turns out that nginx writes this somewhere in /opt/gitlab by default. The no-empty-directories policy of omnibus-ruby 3.0 broke that.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/templates/default/nginx.conf.erb
1 | user <%= node['gitlab']['user']['username'] %> <%= node['gitlab']['user']['username']%>; | 1 | user <%= node['gitlab']['user']['username'] %> <%= node['gitlab']['user']['username']%>; |
2 | worker_processes <%= @worker_processes %>; | 2 | worker_processes <%= @worker_processes %>; |
3 | error_log /var/log/gitlab/nginx/error.log; | 3 | error_log /var/log/gitlab/nginx/error.log; |
4 | +pid /var/opt/gitlab/nginx/nginx.pid; | ||
4 | 5 | ||
5 | daemon off; | 6 | daemon off; |
6 | 7 |