蓝天

2015年9月22日 #

如何取得nginx做反向代理时的真实IP?

摘要: 1. 编译对于client -> nginx reverse proxy -> apache,要想在程序中取得真实的IP,在执行nginx的configure时,必须指定参数“--with-http_realip_module”,示例:./configure --pr... 阅读全文

posted @ 2015-09-22 18:10 #蓝天 阅读(419) 评论(0) 推荐(0) 编辑

导航