<div dir="ltr"><div>i am trying to increase the buffer size of access_log<br><br></div>i have tried different options but all giving me errors<br><br>access_log /var/log/nginx/<a href="http://www.xxxxx.com/access.log">www.xxxxx.com/access.log</a> main buffer=1024k;<br>access_log /var/log/nginx/<a href="http://www.xxxxx.com/access.log">www.xxxxx.com/access.log</a> compression buffer=1024k;<br>access_log /var/log/nginx/<a href="http://www.xxxxx.com/access.log">www.xxxxx.com/access.log</a>  buffer=1024k;<br><br><br><div>here is the result.<br><br>2016/04/27 12:01:40 [emerg] 26411#0: unknown log format "compression" in /etc/nginx/sites-enabled/default:87<br>2016/04/27 12:03:29 [emerg] 26470#0: unknown log format "buffer=32k" in /etc/nginx/sites-enabled/default:87<br>2016/04/27 12:08:44 [emerg] 26569#0: unknown log format "main" in /etc/nginx/sites-enabled/default:87<br><br></div><div>Your expert advice is requested. <br><br></div><div>Thanks,<br></div><div>Yousuf<br></div></div>