VHost Not Serving

Sergey A. Osokin osa at freebsd.org.ru
Mon Jun 28 22:35:50 UTC 2021


Hi Rich,

On Mon, Jun 28, 2021 at 03:00:45PM -0400, VP Lists wrote:
> Hi there.
> 
> I used:
> 
> curl alpha.local
> 
> It returned hq3.local source.  

Seem like curl didn't send a valid "Host: alpha.local" header for some reason,
that's why NGINX replied with an answer for default_server.

Could you try the following request:

curl -v -H "alpha.local" http://alpha.local/

-- 
Sergey Osokin


More information about the nginx mailing list