-
Notifications
You must be signed in to change notification settings - Fork 20
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
rate_limit does not trigger #21
Comments
same problem, did you find a solution? |
@Hor1kon I switched to this: https://github.com/mholt/caddy-ratelimit |
@Hor1kon This is working for me handle /login {
rate_limit {remote.host} 10r/m
reverse_proxy my-app:3000 {
header_up X-Real-IP {remote_host}
}
} I had to add an order block at the top of my Caddy file {
order rate_limit before basicauth
} Also, make sure that the network request that you are trying to block actually matches the path that you have in your handle. |
Yea, I also have switched to it |
Yeah, I think by me it wasn't working because of this first line, because in other rate-limit build this line was initially in the example |
Hey there,
I'm trying to protect a basicauth prompt against brute-forcing using
rate_limit
, but for some reason it just does not trigger. I cancurl
the path all day long and it will not even once return a429
. Here's my config:any idea why?
The text was updated successfully, but these errors were encountered: