mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Changes based on feedback
I also changed the location for access.log
This commit is contained in:
parent
a047d4f23f
commit
a80052e66a
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user