nginx怎么给后端传递CF-Connecting-IP

讨论 未结 1 41
云缨
云缨 会员 2023年4月6日 06:30 发表
<img src="static/image/smiley/yct/017.gif" smilieid="40" border="0" alt=""> <img src="static/image/smiley/yct/017.gif" smilieid="40" border="0" alt=""> <br> <br> 小鸡上是这样的 CF &gt; 反代鸡 &gt; 源站<br> <br> xff是这样<br> <div class="blockcode"> <div id="code_qKJ"> <ol> <li> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</li> </ol> </div><em onclick="copycode($('code_qKJ'));">复制代码</em> </div><br> <br> 那反代鸡上的CF-Connecting-IP怎么写才有一样的效果呀?<br> <br> <img src="static/image/smiley/yct/013.gif" smilieid="43" border="0" alt=""> <img src="static/image/smiley/yct/013.gif" smilieid="43" border="0" alt=""> MJJ知道吗?<img id="aimg_OKP6y" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="">
收藏(0)  分享
相关标签: 主机交流
注意:本文归作者所有,未经作者允许,不得转载
1个回复
  • lowan
    2023年4月6日 08:07
    CF默认返回CF-Connecting-IP,反代不需要改,除非你想把CF-Connecting-IP的内容改成其他IP
    0 0