Re: Organising an online workshop for Apache APISIX

2022-02-13 Thread Leslie Tsang
LGTM, looking forward to it. BTW, do we have a roadmap for this ? Leslie Tsang leslie.ts...@icloud.com > On 12 Feb 2022, at 6:29 PM, Zhiyuan Ju wrote: > > Hi, Bobur, > > Why not you to have a try to host our first online meetup? I would > encourage people I know to attend the meeting (most ar

Re: APISIX Installation

2022-02-13 Thread Leslie Tsang
Hello there, in order to figure out what happened, we need the output on your own system of the command you given. I'm afraid there won't be any progress unless the necessary information is provided. We are now concerned as to why this has happened, and take act. Try to resolve the issue from

Re: [APISIX] - Configure the plugin proxy-rewrite on consumer

2022-02-13 Thread Zexuan Luo
The variable in header feature can be found in: https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite And the variable list can be found in: https://apisix.apache.org/docs/apisix/apisix-variable Zexuan Luo 于2022年2月14日周一 09:31写道: > > What about configuring the proxy-rewrite plugin in the co

Re: [APISIX] - Configure the plugin proxy-rewrite on consumer

2022-02-13 Thread Zexuan Luo
What about configuring the proxy-rewrite plugin in the consumer? Like this: ``` $ curl http://127.0.0.1:9080/apisix/admin/consumers -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "username": "jack", "plugins": { "key-auth": { "key": "auth-one" },

Re: [APISIX] - Configure the plugin proxy-rewrite on consumer

2022-02-13 Thread Alexandre SOLOVIEFF
Hi, My case scenario : I want to add a custom header (ex: X-CONSUMER-ID) which value depends of the consumer identified by its api key. And so for two consumer consumer-01 and consumer-02 I want to proxy the request to which I added the header X-CONSUMER-ID=consumer-01-id or X-CONSUMER-02-id depen