shreemaan-abhishek commented on issue #9328: URL: https://github.com/apache/apisix/issues/9328#issuecomment-1654925865
> But how does APISIX know about consumers? There is no consumers in the request headers I am sorry, I meant to say: That should still work as the forward auth plugin does not modify the ip address -OR- the $remote_addr nginx variable remains unchanged. P.S: limit-count does the rate-limiting based on $remote_add ngx variable which is the default value for the `key`. From the documentation, `limit-count` key means: > User specified key to base the request limiting on. If the key_type attribute is set to constant, the key will be treated as a constant value. If the key_type attribute is set to var, the key will be treated as a name of variable, like remote_addr or consumer_name. If the key_type is set to var_combination, the key will be a combination of variables, like $remote_addr $consumer_name. If the value of the key is empty, remote_addr will be set as the default key. -- 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]
