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

Valentin V. Bartenev vbart at
Wed Dec 26 07:51:38 UTC 2012

On Wednesday 26 December 2012 04:27:59 Lorenzo Raffio wrote:
> Oh, I was forgetting: is there a way to globally set to gzip access_log?
> 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 :)

This settings is set on a per file basis. If you want to change it for a lot of 
access log files, you could use automated editing tools like sed, awk..

 wbr, Valentin V. Bartenev


More information about the nginx mailing list