Re: Tomcat and NGINX ip forwarding

2019-09-01 Thread Sean Dawson
That seems to have worked - thanks! On Sun, Sep 1, 2019 at 2:05 PM Mark Thomas wrote: > On September 1, 2019 2:52:36 PM UTC, Sean Dawson > wrote: > >Hello, I'm trying to get the actual client IP address in the Tomcat > >access > >logs rather than the 127.0.0.1 that's coming from nginx. > > > >

Re: Tomcat and NGINX ip forwarding

2019-09-01 Thread Mark Thomas
On September 1, 2019 2:52:36 PM UTC, Sean Dawson wrote: >Hello, I'm trying to get the actual client IP address in the Tomcat >access >logs rather than the 127.0.0.1 that's coming from nginx. > >CentOS 7.6 (on AWS) >Amazon Coretto 1.8.0_222.b10-1.x86_64 >Tomcat 8.5.45.0 (extracted from tar.gz) >Ng

Tomcat and NGINX ip forwarding

2019-09-01 Thread Sean Dawson
Hello, I'm trying to get the actual client IP address in the Tomcat access logs rather than the 127.0.0.1 that's coming from nginx. CentOS 7.6 (on AWS) Amazon Coretto 1.8.0_222.b10-1.x86_64 Tomcat 8.5.45.0 (extracted from tar.gz) Nginx 1.12.2 (very basic setup) http (80) / https (443) to nginx To