I have a docker webapp running, port mapped to a machine-running nginx server, and fail2ban to do rate limiting.
Unfortunately, when viewing netstat, docker looks like its using all internal IPs (things like localhost:59719
), rather than exposing through the external IP requests, so the nginx and fail2ban rate limits have no effect.
Has anyone found a way around this?