[英]How to get the real IP of a client in a pyramid server behind a nginx proxy
[英]how to get real ip of server behind nginx
我使用nginx进行负载平衡,nginx后面有几台服务器。 如何知道请求转发到的服务器? 我可以将请求转发到的服务器的IP添加到响应的标头中吗? 如果可以,该怎么办?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.