Openfire uses nginx to set the proxy HTTP bind, session.getHostAddress (), is the IP address the source address of the customer

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.

image
How to configure this

That should be the name of the header that should be used. Typically, the value must be X-Forwarded-For

image
image

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.