shreemaan-abhishek commented on issue #9530: URL: https://github.com/apache/apisix/issues/9530#issuecomment-1566577033
@cverdela No this is not a bug but by design. `forward-auth` will always be executed after `proxy-rewrite` because `forward-auth` gets executed in the `access` phase of nginx and `proxy-rewrite` gets executed in the `rewrite` phase. <img width="851" alt="image" src="https://github.com/apache/apisix/assets/61597896/5cce73da-682e-44a9-9d66-3aca9a1c1e6f"> [Learn more](https://api7.ai/learning-center/openresty/knowledge-of-nginx-used-in-openresty#execution-phase) -- 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]
