From a047d4f23fcd5803571b6f24adf52be1c9fd5d05 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 16 May 2018 12:11:18 -0700 Subject: [PATCH] Pid and Logging changes PID didn't work at all on Ubuntu 16.04 with the provided sample, my commented out change does, also added logging change to conform to what is out of the box. --- examples/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/nginx.conf b/examples/nginx.conf index b06cccf8..4b16be18 100644 --- a/examples/nginx.conf +++ b/examples/nginx.conf @@ -4,6 +4,9 @@ user nobody nogroup; # 'user nobody nobody;' for systems with 'nobody' as a group instead pid /tmp/nginx.pid; error_log /tmp/nginx.error.log; +# error_log /var/log/nginx/error.log warn; # Ubuntu 16.04 + 1.14 +# pid /var/run/nginx.pid; # Ubuntu 16.04 + 1.14 + events { worker_connections 1024; # increase if you have lots of clients