mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #165] 客户端到服务器之间加了一层 GoProxy 端口转发,Nginx 怎么获取用户的真实 IP 地址? #97
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#97
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 @designinlife on GitHub (Oct 27, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/165
GoProxy 版本:5.2
使用的 TCP 端口映射转发请求。
./goproxy tcp -p 0.0.0.0:80 -T tcp -P 真实服务器IP地址:80 --forever --daemon
我的用法:客户端浏览器 -> GoProxy 服务端口 -> 真实 WEB 服务器 (Nginx)
目前的问题是:Nginx 只能拿到 GoProxy 所在的服务器IP地址 取不到客户端的真实IP地址。请教解决方法!
@snail007 commented on GitHub (Oct 28, 2018):
不支持。只能gp前面再加一个Nginx