NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.3k stars 2.58k forks source link

NPM does not pass the real IP to Authelia #2610

Open wmd1942 opened 1 year ago

wmd1942 commented 1 year ago

I have both Authelia and NPM installed as containers. Authelia is behind NPM as a proxy host.

image

When I tried to use fail2ban to parse the host IP from Authelia's log when login failed, I noticed the reported host IP is 127.20.0.1, which is the docker's gateway internal IP. I set up both per the directions mentioned in "https://www.authelia.com/integration/proxies/nginx-proxy-manager". Everything (including 2FA) works except not getting the real IP. I'd appreciate any advice or suggestion.

github-actions[bot] commented 8 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1: