Client real IP address (behind proxy)

Hi,
we would need to get the real IP address of a web client, especially when the webapp is behind a proxy as in this case the address is always the IP proxy (and not the real remote address of the user web browser).

Something like this: RemoteIpFilter (Apache Tomcat 8.0.53 API Documentation)

Is there a way to implement this on Cuba Platform (perhaps using a regular Filter)?

Thanks in advance.

Regards,

Paolo N.

Hi,

You can find necessary configuration in the developers manual:
https://doc.cuba-platform.com/manual-7.1/proxy_configuration_tomcat.html
https://doc.cuba-platform.com/manual-7.1/proxy_configuration_uberjar.html

2 Likes

It works like a charm!
Thank you very much Alex!
Bye,
Paolo