[英]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.