The nginx web server allows to use an invalid domain name,
like _ as a server name.
In such case, we can't deduce a lot of things from the canonical
server name defined by the web server. HTTP_HOST is more informative.
Ref T1294
Differential D1168
Prefer to read url from HTTP_HOST than SERVER_NAME dereckson on Nov 4 2017, 01:36. Authored by Tags Referenced Files
Subscribers None
Details
The nginx web server allows to use an invalid domain name, In such case, we can't deduce a lot of things from the canonical Ref T1294 On nginx, create a server block with server_name _;
Diff Detail
|