NginxProxyManager / nginx-proxy-manager

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

Real IP not working #1336

Closed laitco closed 3 years ago

laitco commented 3 years ago

Hi,

the real IP is not working in 2.9,7. Did someone has a hint for me ?

-->

Checklist

Describe the bug Real External IP not showing in Synology as example.

Nginx Proxy Manager Version 2.9.7

Expected behavior

Screenshots

Operating System Ubuntu 20.04, Docker latest

kellcomnet2 commented 3 years ago

Same issue, I am running in docker bridge networking mode since it fails to start if I use host networking. I am unable to use ACLs because it never sees the real ip

laitco commented 3 years ago

Hi, worked with a rebuild container and with "proxy_set_header X-Forwarded-Proto $scheme;" in advanced Custom Nginx Configuration.

openaspace commented 2 years ago

Hi, worked with a rebuild container and with "proxy_set_header X-Forwarded-Proto $scheme;" in advanced Custom Nginx Configuration.

Hi. wich is the correct sintax to add in the advanced config?

I use alphine linux under proxmox, and ngninx proxy manager behind pfsense firewall