You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/27 11:03:05 UTC

[GitHub] [apisix-ingress-controller] CabelChang commented on issue #849: bug: 配置x-forwarded-for后不生效

CabelChang commented on issue #849:
URL: https://github.com/apache/apisix-ingress-controller/issues/849#issuecomment-1023091611


   下面配置是添加的一个test的header
               proxy_set_header   X-Forwarded-for  $var_x_forwarded_for;
               proxy_set_header   test     $var_x_forwarded_for;
   在我们的后端节点上是可以收到的,然而却没有收到X-Forwarded-for 的header
   host=***.com
   x-real-ip=XXXX
   test=11XXX0.130, 1XXX.56
   x-forwarded-proto=http
   x-forwarded-host=***.com
   x-forwarded-port=9080
   content-length=4
   accept=application/x-protobuf


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org