Do not log "directory index of /foo/bar/ is forbidden"

basti black.fledermaus at
Thu Jul 9 09:57:54 UTC 2015


I have found "conditional logging"  in
It seems that it only works on status codes.

Is there a way to disable logging for something like:

2015/07/09 11:02:30 [error] 24928#0: *97983 directory index of
"/foo/bar/" is forbidden, client:, server:,
request: "GET / HTTP/1.1", host: ""

nginx version: nginx/1.9.1

Best Regards,

More information about the nginx mailing list