How to configure domain name blacklist and prohibit domain name binding by nginx

how to configure domain name blacklist in nginx, and prohibit domain name binding

Jan.26,2022

1. The servername of nginx can specify a domain name. You can just add the domain name you need to bind. Other domain names cannot be accessed by binding. This is like reverse prohibition of other domain names
2. Generally speaking, one or more domain names are configured in a server, and you do not know which domain names are prohibited.

Menu