3 ms·
The spec allows you to add the domain in the request line like GET website/path HTTP/1.1 Host: website2 Some servers, like NGINX, will key on the request line
by dc-programmer 4y ago
The spec allows you to add the domain in the request line like
GET website/path HTTP/1.1
Host: website2
Some servers, like NGINX, will key on the request line domain (website) to find the logical server block rather than the host header (website2).
This can lead to interesting outcomes