Don't have Telegram yet? Try it now!
https://blog.knoldus.com/nginx-disable-direct-access-via-http-and-https-to-a-website-using-ip/
NGINX - Disable direct access (via http and https) to a website using IP address