Welcome! Log In Create A New Profile

Advanced

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

basti
July 09, 2015 06:00AM
Hello,

I have found "conditional logging" in
http://nginx.org/en/docs/http/ngx_http_log_module.html
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: xx.xxx.xx.xx, server: www.example.com,
request: "GET / HTTP/1.1", host: "www.example.com"

nginx version: nginx/1.9.1

Best Regards,
basti

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

basti July 09, 2015 06:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready