<div dir="ltr"><font face="georgia,serif">Oh, I was forgetting: is there a way to globally set to gzip access_log?<br>Cause I have a lot of websites and it will be better to set this globally instead of manually changing access_log line for every vhost :)</font></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/26 Lorenzo Raffio <span dir="ltr"><<a href="mailto:multiformeingegno@gmail.com" target="_blank">multiformeingegno@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><font face="georgia,serif">Thanks Valentin!<br></font><pre style="white-space:pre-wrap"><i>access_log /var/www/blahblah/logs/access.log combined gzip; worked :)</i></pre><pre style="white-space:pre-wrap"><i>
</i>Last question: what does the flush variable do? Does it specify for how much times to keep the logs?</pre></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/26 Lorenzo Raffio <span dir="ltr"><<a href="mailto:multiformeingegno@gmail.com" target="_blank">multiformeingegno@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font face="georgia,serif">Guys I updated from nginx 1.3.9 to 1.3.10, edited my access_log line and here it is now:</font><div>
<font face="georgia,serif"><div><i>access_log /var/www/blahblah/logs/access.log gzip buffer=32k;</i></div>
<div><br>Unfortunately when I restart nginx I get this error:<br><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:18px">nginx: [emerg] unknown log format "gzip"<br></span><br>
What am I doing wrong?<br><br>Thanks in advance.</div></font></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>