Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i am using to created many zone, how to generate events system only per some zone ? #64

Open
ta2013 opened this issue Sep 2, 2024 · 2 comments

Comments

@ta2013
Copy link

ta2013 commented Sep 2, 2024

i am using to created many zone. in real use case: not all zone be blocked, so how to generate events system only for those zone (or not generate 429, error…)?

Thanks

@mholt
Copy link
Owner

mholt commented Sep 2, 2024

I'm not sure I understand. can you explain your question more?

@ta2013
Copy link
Author

ta2013 commented Sep 2, 2024

I have one o rate limits below, this configuration sets a rate limit for requests, allowing up to 10 requests per minute for the specified paths. It should nice to designed for notification purposes and does not block requests.

rate_limit_notify {
rate_limit {
zone notify_zone {
match {
path /api/version2/request-token
}
key {path}
window 1m
events 10
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants