Auth failure logs contain local ip adress when container behind reverse proxy
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
When container is behind reverse proxy(Nginx proxy manager in my case), web UI auth failure log entries contain adress of proxy, but not real adress of host trying to connect. All traffic is proxied by Cloudflare's network to my NPM. I've tried different settings for NPM to insert real ip to request( setting real_ip_header CF-Connecting-IP, etc.), but nothing helped
Expected Behavior
Logs should contain real ip adress of auth failed client
Steps To Reproduce
- Install container behing reverse proxy
- Proxy all traffic to your domain via Cloudflare
- Access to deluge container web UI
- Enter wrong password
- Auth failure logs contains locall adress of reverse proxy
Environment
- OS: Debian 11
CPU architecture
x86-64
Docker creation
docker run -d \
--name=deluge \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-e DELUGE_LOGLEVEL=error \
-p 8112:8112 \
-p 6881:6881 \
-p 6881:6881/udp \
-p 58846:58846 `#optional` \
-v /path/to/deluge/config:/config \
-v /path/to/downloads:/downloads \
--restart unless-stopped \
lscr.io/linuxserver/deluge:latest
Container logs
08:13:29 [ERROR ][deluge.ui.web.auth :1672] Login failed (ClientIP 192.168.1.120)
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity