4 ms·
I've been doing that on my hobby sites ever since all the popular browsers supported HTTP/2.0 [1] if ($server_protocol != HTTP/2.0) { return 444; } It kno
by LinuxBender 2y ago
I've been doing that on my hobby sites ever since all the popular browsers supported HTTP/2.0 [1]
if ($server_protocol != HTTP/2.0) { return 444; }
It knocks out a lot of bots. I am thankful that most bots are poorly maintained and most botters are just skiddies that could not maintain the code if they wanted to.
[1] - https://nginx.org/en/docs/http/ngx_http_rewrite_module.html#return https://nginx.org/en/docs/http/ngx_http_rewrite_module.html#...