mirror of
https://github.com/DanWin/hosting.git
synced 2025-08-28 07:23:26 +02:00
Buffer access log writes to reduce IO
This commit is contained in:
parent
1a9ee646c6
commit
dda49153b3
2 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ http {
|
|||
# Logging Settings
|
||||
##
|
||||
log_format custom '$host: 0.0.0.0 - $remote_user [$time_local] "$request" $status $bytes_sent "$http_referer" "$http_user_agent"';
|
||||
access_log /var/log/nginx/access.log custom;
|
||||
access_log /var/log/nginx/access.log custom buffer=32k flush=1m;
|
||||
error_log /var/log/nginx/error.log notice;
|
||||
log_not_found off;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue