mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #264] nginx Proxy Pass show localhost IP #222
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#222
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 @dipenpatel235 on GitHub (May 27, 2016).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/264
Hello...
i am doing proxy pass from nginx to nsupdate port
so on front page it is displayed 127.0.0.1
instead of that i want to displayed real IP.
So how can i real ip ?
I have also try using
proxy_set_header X-Real-IP $remote_addr;
But not success
Thanks
@dipenpatel235 commented on GitHub (May 27, 2016):
Thanks
I Have Fixed this issue By Below Patch
So May Be SOme one useful
I Have Used nginx with reverse proxy with real ip
Then In nsupdate info in all file replace REMOTE_ADDR By HTTP_X_REAL_IP
sed -i 's/REMOTE_ADDR/HTTP_X_REAL_IP/g' filename
Thanks
@ThomasWaldmann commented on GitHub (May 27, 2016):
On nsupdate.info, the software runs behind a nginx proxy without changing of any of its files.
@elnappo commented on GitHub (Dec 27, 2016):
close? maybe add a nginx config example (could also be useful for #281) https://nsupdateinfo.readthedocs.io/en/latest/admin.html#installation-for-production