Files
flask-security/docs
Stephen J. Fuhry 923ad720a1 X-Forwarded-For can contain multiple IP addresses
From the nginx docs:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html
> $proxy_add_x_forwarded_for
> the “X-Forwarded-For” client request header field with the $remote_addr
> variable appended to it, separated by a comma. If the “X-Forwarded-For”
> field is not present in the client request header, the
> $proxy_add_x_forwarded_for variable is equal to the $remote_addr
> variable.

Use the last IP address in X-Forwarded-For. For this to work properly
behind a trusted proxy, you must be using ProxyFix as described in the
flask & werkzeug documentation.
2014-12-29 08:31:19 -05:00
..
2012-10-10 13:36:59 -04:00
2013-06-26 18:30:44 +04:00
2012-03-12 17:07:36 -04:00
2013-12-19 14:09:37 -05:00
2012-03-12 22:20:15 -04:00
2014-10-13 13:38:44 -04:00
2013-12-19 14:09:37 -05:00
2014-09-07 21:37:33 -05:00
2013-07-22 12:19:29 -04:00
2012-03-12 17:07:36 -04:00
2013-10-03 10:10:06 -04:00