VPS-config/nginx/conf.d/blockuseragents.conf

8 lines
154 B
Plaintext
Raw Normal View History

2020-08-03 19:28:39 +02:00
map $http_user_agent $blockedagent {
default 0;
~*malicious 1;
~*backdoor 1;
~*crawler 1;
~*spider 1;
}