使用nginx的反向代理后play获取不到客户端的ip的问题

首先要配置好Nginx

在nginx上配置

 
然后在play上面代码这样写
原文地址:https://www.cnblogs.com/GaiDynasty/p/4196389.html