Tagged articles
1 articles
Page 1 of 1
58 Tech
58 Tech
Apr 25, 2019 · Information Security

Troubleshooting X-Forwarded-For Null Issue with Tomcat Behind Nginx Over HTTPS

When switching from HTTP to HTTPS, Tomcat fails to retrieve the client IP via X-Forwarded-For because of RemoteIpValve configuration and Nginx proxy settings, leading to null values and requiring adjustments in server.xml and Nginx headers to correctly propagate the original client IP.

HTTPSIP SpoofingRemoteIpValve
0 likes · 7 min read
Troubleshooting X-Forwarded-For Null Issue with Tomcat Behind Nginx Over HTTPS