In Nginx (https server), how can I reject all requests for my server's IP address that don't contain the real domain name? (I would like to stop script kiddies who scan every single IP address that Digital Ocean owns!)
I'm looking for the proper HTTPS way of answering this question which only works on pure HTTP.
Thank you!