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.
This commit is contained in:
Patrick 2018-05-16 12:11:18 -07:00 committed by GitHub
parent 587dc630cc
commit a047d4f23f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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