ngx_http_realip_module
示例配置
set_real_ip_from 192.168.1.0/24;
set_real_ip_from 192.168.2.1;
set_real_ip_from 2001:0db8::/32;
real_ip_header X-Forwarded-For;
real_ip_recursive on;指令
set_real_ip_from
real_ip_header
real_ip_recursive
内嵌变量
原文档
最后更新于