Nginx-ultimate-bad-bot-blocker with yunohost

Update: it is not necessary to modify /etc/nginx/conf.d/mydomain.conf, just create a /etc/nginx/conf.d/mydomain.d/*.conf file and add

include /etc/nginx/bots.d/blockbots.conf;
include /etc/nginx/bots.d/ddos.conf;

Now everything works

curl -I https :// mydomain. with -and http :// 100dollars-seo. with
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)

I did that for the subdomains too, one for each.
I don’t know if there’s a way to add that to all the available domains.

3 Likes