mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #900] Client Real IP set to NPM IP in back end Apps. #761
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#761
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mezoology on GitHub (Feb 17, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/900
Hello, I'm using the latest (v2.8) NPM but still having the real IP logged as the proxy IP in
default.logand theproxy_host-(1-6).logand of course at the backend App.I tried some of ideas like this and this but no luck.
I'm using IPv6 only VPS if that helps
here are some logs from
default.loghere are some logs from
proxy_host-(1).logthe
[fd00::1:0:0:1]is my private IPv6 gateway of the network attached to NPM and the other containers (backend apps)how to solve this my tricks bag is empty right now.
thanks in advance.
@chaptergy commented on GitHub (May 12, 2021):
Have a look at https://github.com/jc21/nginx-proxy-manager/issues/41, if this is related
@Nate-09 commented on GitHub (Jul 26, 2021):
I'm also experiencing the same issue,
I'm running a remotely.one server behind NPM and the IP of remotely clients are showing NPM Docker IP as the public IP of each client.
I've added the following to advance config in NPM to try and get things working as expected however, no luck.
I've also tried without X-Real-IP $remote_addr and just keeping the X-Forwarded-For $proxy_add_x_forwarded_for.
I know I've doubled up abit on some of the proxy_set_header but remotely's own nginx example is the following so for testing I've tried adding things here and there but none of this is working:
Any help would be appreciated, as I'm running the latest docker build of NPM and Remotely.
@chaptergy commented on GitHub (Oct 25, 2021):
Closing as duplicate of https://github.com/jc21/nginx-proxy-manager/issues/41