Open vietj opened 2 years ago
HttpConnection now provides a remoteAddress(boolean) that returns the local IP address when running behind HA proxy.
HttpConnection
remoteAddress(boolean)
We can support this with an x-forwarded-for HTTP request header.
x-forwarded-for
Note that any original header value should be included in the list.
This feature would be also helpful in SockJSSocket and WebSocketBase.
HttpConnection
now provides aremoteAddress(boolean)
that returns the local IP address when running behind HA proxy.We can support this with an
x-forwarded-for
HTTP request header.Note that any original header value should be included in the list.