Disable log for a specific server {}

Valentin V. Bartenev vbart at nginx.com
Fri Oct 3 11:22:02 UTC 2014


On Friday 03 October 2014 08:17:22 Bráulio Bhavamitra wrote:
> Hello all,
> 
> I use a setup of nginx(ssl)+varnish+nginx+proxy. Because of this, the
> second nginx server should not log the request as it would duplicate on the
> logs. How to disable log for it?
> 
[..]

  access_log off;

Please, look at the documentation: http://nginx.org/r/access_log

  wbr, Valentin V. Bartenev



More information about the nginx mailing list