Software contavisite e proxy

I created a visitor counter in Spring Boot which doesn't work when I use Traefik. This problem happens because the client IP comes to the proxy and not to the WebApp. What happens is perfectly normal and it is also what I expect to see. Is there any system that allows me to use this proxy with software that counts visits and uses IPs or is it physically impossible as I think?

Requests to your app have the proxy IP as originating IP, as that's whats happening on the TCP/IP level. If you are looking for the original external client IP of the request, then check the HTTP X-Forwarded-For header.

1 Like

MAGNIFICENT!

AWESOME!

SUPREME!

GREAT!

EXTREME!

UNBEATABLE!

ETC…

Now my account counter works perfectly! wawww !!!!

a thousand thanks

P.S.: To get the server IP what should you use with Traefik?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.