如何取得nginx做反向代理时的真实IP?
摘要:1. 编译对于client -> nginx reverse proxy -> apache,要想在程序中取得真实的IP,在执行nginx的configure时,必须指定参数“--with-http_realip_module”,示例:./configure --pr...
阅读全文
posted @ 2015-09-22 18:10
posted @ 2015-09-22 18:10