Disable Direct IP Access in Nginx (HTTP & HTTPS) .
If you use Nginx for shared hosting, it is recommended for security reasons to enforce strict compliance with SNI, where requests for domain names not hosted on the web server or the IP address of both “IPv4” and “IPv6,” from the server itself for both “HTTP” and “HTTPS” are rejected. By default, Nginx chooses the…