User Agent Filtering
Hello, tell me if there is a possibility of filtering traffic by specifying a user agent based on nginx.
Interested in server and client level solutions by specifying additional nginx directives
Example for server level:
if ($ http_user_agent ~ (ZmEu | libwww-perl | wget)) {
return 403;
}
I submit to etc/nginx.conf but does not work.
Thanks
Hello, tell me if there is a possibility of filtering traffic by specifying a user agent based on nginx.
Interested in server and client level solutions by specifying additional nginx directives
Example for server level:
if ($ http_user_agent ~ (ZmEu | libwww-perl | wget)) {
return 403;
}
I submit to etc/nginx.conf but does not work.
Thanks