How to obtain the correct Client IP?
Hi,
Sorry for the ask, we can not understand following step into How to obtain the correct Client IP address when a Physical Load Balancer and a Web Server Configured With Proxy Plug-in Are Between The Client And Weblogic (Doc ID 1375129.1)
Step:
- On Load balancer, include the following two headers: "WL-Proxy-Client-IP: [IP::client_addr]" and "X-Forwarded-For"
- On WebLogic Server go either at the cluster or managed server and enable option WebLogic Plug-In Enabled. This is typically located under Environment > Servers/Cluster > Configuration > General > Advanced
- Code a Custom ELF Logger and after packaging it into a jar file put it on $DOMAIN_HOME/lib. The code should be something like this: