Move default access_log config into own overwritable file

This commit is contained in:
Michael Contento 2017-04-27 16:02:19 +02:00
parent 3718ea34ee
commit 40cb55b3d5
2 changed files with 5 additions and 4 deletions

View 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!

View File

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