I’m trying and failing to get the real IP into the gitea log (for use with fail2ban), I have gitea running behind Traefik, both gitea and traefik are running in docker containers.
I’ve tried a few things relating to X-Forwarded-For and allowing forwardedHeaders etc but it doesn’t seem to work for me.
Can anyone help?
fail2ban does lock someone out if they try too much, but it bans the docker IP, which while achieving the same result isn’t ideal.