An error with the docs of $host
姚伟斌
yaoweibin at gmail.com
Fri Nov 30 03:18:15 UTC 2012
Hi,
In the docs of $host at
http://nginx.org/en/docs/http/ngx_http_core_module.html#variables, it says:
$host
“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: www.example.com:1234. The $host
variable always strips the port.
--
Weibin Yao
Developer @ Server Platform Team of Taobao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121130/5136c5c0/attachment.html>
More information about the nginx
mailing list