反向代理到后端nginx,host都显示为127.0.0.1 #4688
Replies: 1 comment
-
搞定了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
服务器k端口a用nginx转发到端口10080,10080端口为反向代理的入口,c端口为服务器与客户端连接的端口,客户端配置反向代理转发到客户端所在服务器的80端口,客户端80端口为nginx监听端口,在服务器k的nginx配置了hostip转发之类的三条命令,但是在客户端的nginx日志看到所有客户端都是127.0.0.1,这个如何把源ip和forward ip转发到这里而不是127.0.0.1
服务器k-nginx:
服务器k-xray:
Beta Was this translation helpful? Give feedback.
All reactions