Baoyuantop commented on issue #12222:
URL: https://github.com/apache/apisix/issues/12222#issuecomment-2918051716

   I personally feel that APISIX, as an API gateway, is more focused on 
providing a flexible configuration mechanism rather than a one-size-fits-all 
default behavior. proxy_redirect configuration, while useful in many scenarios, 
also changes the return content of the upstream service, and this automatic 
modification may not be suitable for all scenarios:
   
   Some users may wish to retain the original redirect URL; in a microservices 
architecture, the redirect logic may be more complex than a simple hostname 
replacement; APISIX prefers to allow users to explicitly control this behavior 
through a plugin mechanism, such as using the response-rewrite plugin. For more 
complex scenarios, I think a custom plugin can be developed to handle this.
   
   


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

Reply via email to