nginx配置:
session.getHostAddress()
It seems that the proxy Internet address is not the source address of the client
nginx配置:
session.getHostAddress()
It seems that the proxy Internet address is not the source address of the client
The ‘source address’ of the client will be in the HTTP header named “X-Forwarded-For”. You can configure Openfire to use this header, by setting the Openfire property httpbind.forwarded.enabled
to true
. This will cause the ‘real’ IP address of the client to be seen in Openfire.
How to configure this
That should be the name of the header that should be used. Typically, the value must be X-Forwarded-For
Are these IP addresses obtained from nginx forwarding requests through x-forwarded-for
I do not know what you mean or what you are asking. I am not familiar with nginx configuration.