mirror of
https://github.com/DanWin/hosting.git
synced 2025-08-24 21:53: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
|
@ -51,8 +51,8 @@ $nginx="server {
|
|||
listen unix:/var/run/nginx/$onion;
|
||||
root /home/$onion.onion/www;
|
||||
server_name $onion.onion *.$onion.onion;
|
||||
access_log /var/log/nginx/access_$onion.onion.log custom;
|
||||
access_log /home/$onion.onion/logs/access.log custom;
|
||||
access_log /var/log/nginx/access_$onion.onion.log custom buffer=32k flush=1m;
|
||||
access_log /home/$onion.onion/logs/access.log custom buffer=32k flush=1m;
|
||||
error_log /var/log/nginx/error_$onion.onion.log notice;
|
||||
error_log /home/$onion.onion/logs/error.log notice;
|
||||
disable_symlinks on from=/home/$onion.onion/www;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue