Skip to content

How can I enable rate limiting based on http header values? #1822

Answered by shaneutt
shahamit asked this question in Q&A
Discussion options

You must be logged in to vote

There are a few ways you could do this including:

  1. Using the headers criteria of a Kong Route
  2. a Custom Kong Plugin

Unfortunately #1 above is blocked as headers was added recently in Kong v2.4 but is not available in the Ingress controller yet:

#1835

So for the moment a custom plugin with custom code would be needed until that issue is resolved.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@shahamit
Comment options

@shaneutt
Comment options

@shahamit
Comment options

@shaneutt
Comment options

Answer selected by shaneutt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants