How to use the gzip format for access_log in the new 1.3.10?

Valentin V. Bartenev vbart at nginx.com
Tue Dec 25 23:24:53 UTC 2012


On Wednesday 26 December 2012 03:16:51 Lorenzo Raffio wrote:
> Guys I updated from nginx 1.3.9 to 1.3.10, edited my access_log line and
> here it is now:
> *access_log /var/www/blahblah/logs/access.log gzip buffer=32k;*
> 
> Unfortunately when I restart nginx I get this error:
> nginx: [emerg] unknown log format "gzip"
> 
> What am I doing wrong?
> 
> Thanks in advance.

You forgot to specify log format ("gzip" is not log format).

http://nginx.org/r/access_log
http://nginx.org/r/log_format

 wbr, Valentin V. Bartenev

--
http://nginx.com/support.html
http://nginx.org/en/donation.html



More information about the nginx mailing list