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 2021/09/17 04:10:50 UTC

[GitHub] [apisix] spacewander commented on issue #5080: request help: The X-Forwarded-For header of the request to the upstream cannot be changed

spacewander commented on issue #5080:
URL: https://github.com/apache/apisix/issues/5080#issuecomment-921444130


   Currently, we always override the XFF in https://github.com/apache/apisix/blob/c907ef0f663eba5f10686e13e431bd007e7c5ac3/apisix/cli/ngx_tpl.lua#L597.
   
   We can handle it like X-Forwarded-Proto in https://github.com/apache/apisix/blob/c907ef0f663eba5f10686e13e431bd007e7c5ac3/apisix/init.lua#L271
   
   PR is welcome!


-- 
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