Speedtest-Tracker icon indicating copy to clipboard operation
Speedtest-Tracker copied to clipboard

[Feature Request] Add realIP method to docs

Open JohnnyDeeee opened this issue 3 years ago • 0 comments
trafficstars

Describe the feature When using the docker container, the nginx access logs use the container's IP instead of the "real" IP in my case: container IP - 172.28.0.3 client IP - XXX.XXX.XX.XX (redacted, obviously)

When using fail2ban to prevent login attacks on the server, it needs the client IP otherwise it will always ban the container's IP.

Organizr has a fix for this in their docs and this also works in your container (just tested this) Here is a link to their docs https://docs.organizr.app/features/fail2ban-integration#docker

I've added the snippet to nginx/site-confs/default and that works.

Additional context N/A

JohnnyDeeee avatar Jan 31 '22 10:01 JohnnyDeeee