mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-26 02:54:58 +00:00
13 lines
380 B
Plaintext
13 lines
380 B
Plaintext
section
|
|
h3(id='req.ips') req.ips
|
|
|
|
p.
|
|
When "trust proxy" is `true`, parse
|
|
the "X-Forwarded-For" ip address list
|
|
and return an array, otherwise an empty
|
|
array is returned.
|
|
|
|
For example if the value were "client, proxy1, proxy2"
|
|
you would receive the array <code>["client", "proxy1", "proxy2"]</code>
|
|
where "proxy2" is the furthest down-stream.
|