Loading... **反代节点配置** 反代机Nginx配置 proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; **源站配置** 源站机从 反代机 获取IP的配置,从 X-Forwarded-For 头获取IP set_real_ip_from 0.0.0.0/0; real_ip_header X-Forwarded-For; 源站从 CloudFlare 获取IP的配置,从 CF-Connecting-IP 头获取IP set_real_ip_from 0.0.0.0/0; real_ip_header CF-Connecting-IP;<hr class="content-copyright" style="margin-top:50px" /><blockquote class="content-copyright" style="font-style:normal"><p class="content-copyright">版权声明:版权归 <span class="external-link"><a class="no-external-link" href="http://geeh.cn" target="_blank">怪友<i data-feather='external-link'></i></a></span> 所有,转载请注明出处!</p><p class="content-copyright">本文链接:<a class="content-copyright" href="http://www.geeh.cn/archives/78/">http://www.geeh.cn/archives/78/</a></p><p class="content-copyright">如果博客出现404或链接失效,请留言或者联系博主修复!</p></blockquote> Last modification:May 23rd, 2020 at 08:49 pm © 允许规范转载
哈喽