Y
Hacker News
new
|
ask
|
show
|
jobs
by
level3
3778 days ago
You should really consider using multiple server blocks instead of relying on the Host field.
1 comments
xojoc
3778 days ago
I do. Nginx does the matching using the Host field
http://nginx.org/en/docs/http/ngx_http_core_module.html#serv...
link
level3
3778 days ago
Hmm, I could've sworn that server_name doesn't rely on the Host header. My mistake.
link