Welcome! Log In Create A New Profile

Advanced

Avoid logging specific user agents requests

B.R.
April 11, 2015 07:20AM
Hello,

Following: http://trac.nginx.org/nginx/ticket/713

How does one avoid logging (ie set 'access_log off') requests from specific
user agents?

Using 'if' would mean to use 'return' inside (as it is advised to do with
that directive, not continuing the normal process).
Using 'map', as shown in ticket #713, does not work as expected.

Thanks,
---
*B. R.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Avoid logging specific user agents requests

B.R. April 11, 2015 07:20AM

Re: Avoid logging specific user agents requests

itpp2012 April 11, 2015 08:10AM

Re: Avoid logging specific user agents requests

B.R. April 11, 2015 09:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 114
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready