Ratelimiter whitelist of user agents #630
Answered
by
Baroshem
kamenivskyi
asked this question in
Q&A
-
Hello. Is there a way to whitelist a specific user agent? For example, I would like to add Googlebot to whitelist, so it doesn’t receive a 429 status code when making too many requests. |
Beta Was this translation helpful? Give feedback.
Answered by
Baroshem
May 31, 2025
Replies: 1 comment 1 reply
-
Hey there! I am affraid that there is no functionality like this available out of the box by the module. But I think you can build something like this by using the following middleware for agent detection nuxt/nuxt#17373 With the comibnation of conditionally disabling the rate limiting api based on this user agent. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kamenivskyi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there!
I am affraid that there is no functionality like this available out of the box by the module.
But I think you can build something like this by using the following middleware for agent detection nuxt/nuxt#17373
With the comibnation of conditionally disabling the rate limiting api based on this user agent.