Error log full of files that do not exist

Hello,

Since I changed server at OVH all my websites have thousands of errors in the *.error.log like this:

2022/10/23 00:54:40 [error] 86792#86792: *3022718 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 13.95.228.230, server: mydomain.mx, request: “GET //wp-content/themes/seotheme/db.php?u HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php8.0-fpm-mydomain.mx.sock:”, host: “mydomain.mx”, referrer: “http://mydomain.mx//wp-content/themes/seotheme/db.php?u

and so on with thousands of files that do not even exist and from different ips.

What could I do?

The are usually bots…

Filter those with fail2ban