varnish config
This commit is contained in:
@@ -17,8 +17,8 @@ acl purge {
|
|||||||
|
|
||||||
# ===== RECV =====
|
# ===== RECV =====
|
||||||
sub vcl_recv {
|
sub vcl_recv {
|
||||||
# RATE LIMIT: 50 żądań / 10s, blokada 60s
|
# RATE LIMIT: 200 żądań / 10s, blokada 60s
|
||||||
if (vsthrottle.is_denied(client.identity, 50, 10s, 60s)) {
|
if (vsthrottle.is_denied(client.identity, 200, 10s, 60s)) {
|
||||||
return (synth(429, "Too Many Requests"));
|
return (synth(429, "Too Many Requests"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user