From 939229c5ba794a1fb61b79964acc7a0af4030af9 Mon Sep 17 00:00:00 2001 From: Marat G Date: Wed, 6 Sep 2017 13:47:02 -0700 Subject: [PATCH] use root user --- nginx/nginx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.go b/nginx/nginx.go index 806177c..82335f7 100644 --- a/nginx/nginx.go +++ b/nginx/nginx.go @@ -102,8 +102,8 @@ func NewNginxController(cfgType Configuration, nginxConfPath string, healthCheck ErrorLogFile: "/var/log/nginx/error.log", ErrorLogLevel: "warn", PidFile: "/var/run/nginx.pid", - User: "nginx", - Group: "nginx", + User: "root", + Group: "root", WorkerProcesses: "2", /* For future use potentially, can be scrubbed if preferred. Environment: map[string]string{