bzp2010 commented on issue #6007: URL: https://github.com/apache/apisix/issues/6007#issuecomment-1006277131
> To make thing clear, maybe we can use upstream_headers and client_headers, like this one in Envoy: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_authz/v3/ext_authz.proto#extensions-filters-http-ext-authz-v3-authorizationresponse I think this is a clear way to do it, but it can be confusing to users when configuring and I need to highlight these configurations in the documentation. > Another question, what if the request already has X-Forwarded-XX header? According to the scheme used in traefik, which is designed with the `trustForwardHeader` configuration, it will trust the header passed in by the client, do we need to do this? If not, these headers passed in by the client will be discarded by default. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
