An error with the docs of $host

姚伟斌 yaoweibin at
Fri Nov 30 03:18:15 UTC 2012


In the docs of $host at, it says:

“Host” request header field, or the server name matching a request if this
field is not present

It's not right with the host header like:  The $host
variable always strips the port.

Weibin Yao
Developer @ Server Platform Team of Taobao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list