You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "tokers (via GitHub)" <gi...@apache.org> on 2023/03/30 01:28:10 UTC
[GitHub] [apisix] tokers commented on issue #9193: Can limit-req or limit-count use keys from headers like "authorization" or from query parameters like "teant" or whatever?
tokers commented on issue #9193:
URL: https://github.com/apache/apisix/issues/9193#issuecomment-1489554999
Set the `key_type` to `vars` and you can use the variables you want, for instance, if you want to use a HTTP header, use variable `http_header_name`, where header_name is the name of the HTTP header.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org