-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[FR]: nginx-limit-conn.conf #3674
Labels
Comments
The diff for stock failregex = ^%(__prefix_line)slimiting requests, excess: [\d\.]+ by zone "(?:%(ngx_limit_req_zones)s)", client: <HOST>,
+ ^%(__prefix_line)slimiting connections by zone "(?:%(ngx_limit_req_zones)s)", client: <ADDR>, As long as it is not extended yet, one can achieve this with local-config [Definition]
failregex = %(known/failregex)s
^%(__prefix_line)slimiting connections by zone "(?:%(ngx_limit_req_zones)s)", client: <ADDR>, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi team, fail2ban does the job well for limit based on
limit_req_zone
but i am struggling to banlimit_conn_zone
dos'ershow can one do that?
the log for rate limited by connection zone looks like this
it is limited by
limit_conn
directive in nginx configmost limit_req and limit_conn are implemented together, but jail exists only for limit_req
help apprciated
The text was updated successfully, but these errors were encountered: