thor533 commented on issue #9239: URL: https://github.com/apache/apisix/issues/9239#issuecomment-1508015965
> > > > > > > > > > > > > > > > > Is this an apisix bug or a configuration problem? > > > > > > > > > maybe this is a feature. > > > Because the core logic of the two plug-ins works in different phase of nginx's http request processing, while ip_restriction is in the `access` phase, and basic-auth is in the`rewrite` phase. > > > The rewrite phase is processed before the access phase. > > > We plan to remove ambiguity about priorities by updating the documentation. > > > > > > Okey, i think the ip-restriction should excute first,it should have the highest priority! thank you reply ! > > yep, we will think twice for how to remove ambiguity My final question is, is there a way to get ip-restriction to execute first, do you need a custom plugin or something, i am looking forward to your reply ! -- 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]
