Changes based on feedback

I also changed the location for access.log
This commit is contained in:
Patrick 2018-05-19 00:01:05 -07:00 committed by GitHub
parent a047d4f23f
commit a80052e66a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,12 @@ worker_processes 1;
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
error_log /var/log/nginx/error.log warn; # Ubuntu 16.04 + Nginx 1.14
pid /var/run/nginx.pid; # Ubuntu 16.04 + Nginx 1.14
# On some systems, these settings are preferred
# pid /tmp/nginx.pid;
# error_log /tmp/nginx.error.log;
events {
@ -19,7 +21,7 @@ http {
include mime.types;
# fallback in case we can't determine a type
default_type application/octet-stream;
access_log /tmp/nginx.access.log combined;
access_log /var/log/nginx/access.log combined;
sendfile on;
upstream app_server {