In catch-all server examples the strange name “_” can be seen:
here is nothing special about this name, it is just one of a myriad of invalid domain names which never intersect with any real name. Other invalid names like “--” and “!@#” may equally be used.
Настройка, которая словит любое доменное имя, которое пришло в nginx