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 2020/12/27 08:52:14 UTC

[GitHub] [apisix] spacewander commented on issue #3133: Combining basic-auth & proxy-rewrite

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


   You may need to change proxy-rewrite like what we have done with fault-injection:
   https://github.com/apache/apisix/blob/53777519b8261994f34dfd67fc07cc1b97ba2946/apisix/plugins/fault-injection.lua#L85
   And use the `consumer_name` as variable name. See:
   https://github.com/apache/apisix/blob/53777519b8261994f34dfd67fc07cc1b97ba2946/apisix/core/ctx.lua#L174-L175


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org