You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.
Having trouble with a rule that worked in varnish 3 with throttle
Prevent users from making excessive POST requests that aren't for admin-ajax
if(((vsthrottle.is_denied(req.http.X-Actual-IP, 15, 10s) && (!req.url ~ "admin-ajax.php") && (req.request == "POST")) {
return (synth(429, "Too Many Requests"));
# Use shield vmod to reset connection
shield.conn_reset();
}
The text was updated successfully, but these errors were encountered:
Having trouble with a rule that worked in varnish 3 with throttle
|Prevent users from making excessive POST requests that aren't for
admin-ajax if(((vsthrottle.is_denied(req.http.X-Actual-IP, 15, 10s) &&
(!req.url ~ "admin-ajax.php") && (req.request == "POST")) { return
(synth(429, "Too Many Requests")); # Use shield vmod to reset
connection shield.conn_reset(); } |
—
Reply to this email directly or view it on GitHub #9.
Made good use of this for protecting Wordpress, feel free to link to the walkthrough in Wiki. I will continue to tweak as necessary but this seems good for now.
Having trouble with a rule that worked in varnish 3 with throttle
The text was updated successfully, but these errors were encountered: