Follow

How to block specific user agents on web server.
create /etc/nginx/useragent.rules, & define a map with all blocked user agents as:
map $http_user_agent $putoagent {
default 0;
~*malicious 1;
~*backdoor 1;
~*netcrawler 1;
~Puto 1;
~webbandit 1;
}

open an nginx configuration file of your website, which contains http section, & add
http {

include /etc/nginx/useragent.rules
}
xmodulo.com/block-specific-use

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Tenochtitlan

Tenochtitlan Altepetl node reemerged on Metztli's Mixtli, i.e.,Cloud, superb Reiser4 filesystem technology. Auh in ompa in inchantli itocayocan Aztatlan. Yehica in intoca Aztecah ihuan in ompa in inchantli inic ontlamantli itocayocan Chiucomoztoc. Auh inin Azteca intoca Aztecah ihuan intoca Mexitin. Auh in axcan za mellahuac in mitohua in intoca Mexicah. Auh ca quin nica quicuitacico in intoca Tenochcah.