Nginx prohibits IP access. When we use it, we will encounter many malicious IP attacks. At this time, we will use Nginx to prevent IP access. Now let's take a look at the default virtual host of Nginx when users access through IP or through an unset domain name (for example, someone points his own domain name to your IP). The key point is read the whole passage