From b27ccc1dbd4ed85ab52ea9e8eee27fde46e90fec Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Thu, 22 Oct 2015 10:35:10 -0600 Subject: [PATCH] ansible: use Ubuntu UID for nginx.conf On CentOS, the nginx package from EPEL defaults to using the "nginx" UID. On Ubuntu, the nginx package defaults to using the "www-data" UID. --- ansible/roles/ansible-jenkins/templates/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/ansible-jenkins/templates/nginx.conf b/ansible/roles/ansible-jenkins/templates/nginx.conf index 1ab526ef..e12693a8 100644 --- a/ansible/roles/ansible-jenkins/templates/nginx.conf +++ b/ansible/roles/ansible-jenkins/templates/nginx.conf @@ -1,5 +1,5 @@ # {{ ansible_managed }} -user nginx; +user www-data; worker_processes {{ nginx_processor_count }}; worker_rlimit_nofile 8192; -- 2.47.3