This commit is contained in:
TJ Holowaychuk 2014-05-05 08:44:00 -07:00
parent 50ffb86a40
commit 55ebdb522b

View file

@ -61,6 +61,7 @@
when `app.proxy` is __true__, otherwise `Host` is used. when `app.proxy` is __true__, otherwise `Host` is used.
### req.hostname ### req.hostname
Get hostname when present. Supports `X-Forwarded-Host` Get hostname when present. Supports `X-Forwarded-Host`
when `app.proxy` is __true__, otherwise `Host` is used. when `app.proxy` is __true__, otherwise `Host` is used.