Move default access_log config into own overwritable file
This commit is contained in:
parent
3718ea34ee
commit
40cb55b3d5
5
etc/nginx/conf.d/access_log.conf
Normal file
5
etc/nginx/conf.d/access_log.conf
Normal file
@ -0,0 +1,5 @@
|
||||
# Log access to this file
|
||||
# This is only used when you don't override it on a server{} level
|
||||
access_log /dev/stdout main;
|
||||
|
||||
# Note: Feel free to overwrite this file if you want a custom logging format!
|
@ -50,10 +50,6 @@ http {
|
||||
# Default charset
|
||||
charset utf-8;
|
||||
|
||||
# Log access to this file
|
||||
# This is only used when you don't override it on a server{} level
|
||||
access_log /dev/stdout main;
|
||||
|
||||
# How long to allow each connection to stay idle.
|
||||
# Longer values are better for each individual client, particularly for SSL,
|
||||
# but means that worker connections are tied up longer.
|
||||
|
Loading…
Reference in New Issue
Block a user