I built a landing page with a "sign up with your email to get notified" sort of thing. The button executes some AJAX and submits to a PHP file which sends an email to me. Now, I'm getting a bunch of signups, but I've never advertised the link. I do see that it has been indexed by Google. These emails look semi-legitimate, but I checked my nginx access log and found they were all from HeadlessChrome (albeit from different IPs), and none of them have referers at all (I added the referer thing to the AJAX->PHP system).
So my question is: Is this spam or legitimate?
And as a follow-up, since I strongly believe this is spam, is this config in my nginx sufficient to fight it (given it's a tiny site) for now?
server {
# (other stuff...)
if ($http_user_agent ~ (HeadlessChrome) ) {
return 403;
}
}