Configure nginx to emit logstash logs for access logs. Move all nginx config to a conf subdir. Rework nginx config to share common parts.
This commit is contained in:
parent
c13654bb52
commit
2b6c9149e8
20 changed files with 148 additions and 165 deletions
7
conf/root-base.conf
Normal file
7
conf/root-base.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
pid /mnt/logs/nginx.pid;
|
||||
error_log /mnt/logs/nginx.error.log;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
accept_mutex off;
|
||||
}
|
Reference in a new issue