[GH-ISSUE #1336] Real IP not working #1064

Closed
opened 2026-02-26 06:35:37 +03:00 by kerem · 3 comments
Owner

Originally created by @laitco on GitHub (Aug 21, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1336

Hi,

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

-->

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

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

Originally created by @laitco on GitHub (Aug 21, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1336 Hi, the real IP is not working in 2.9,7. Did someone has a hint for me ? --> **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** Real External IP not showing in Synology as example. **Nginx Proxy Manager Version** 2.9.7 **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> **Operating System** Ubuntu 20.04, Docker latest
kerem 2026-02-26 06:35:37 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@kellcomnet2 commented on GitHub (Aug 23, 2021):

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

<!-- gh-comment-id:903856471 --> @kellcomnet2 commented on GitHub (Aug 23, 2021): 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
Author
Owner

@laitco commented on GitHub (Aug 23, 2021):

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

<!-- gh-comment-id:903858464 --> @laitco commented on GitHub (Aug 23, 2021): Hi, worked with a rebuild container and with "proxy_set_header X-Forwarded-Proto $scheme;" in advanced Custom Nginx Configuration.
Author
Owner

@openaspace commented on GitHub (Jan 2, 2022):

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

<!-- gh-comment-id:1003777266 --> @openaspace commented on GitHub (Jan 2, 2022): > 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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1064
No description provided.