varnish config

This commit is contained in:
Mateusz Gruszczyński
2025-09-25 09:22:47 +02:00
parent 0286ee351e
commit 9b131824e8

View File

@@ -17,8 +17,8 @@ acl purge {
# ===== RECV =====
sub vcl_recv {
# RATE LIMIT: 50 żądań / 10s, blokada 60s
if (vsthrottle.is_denied(client.identity, 50, 10s, 60s)) {
# RATE LIMIT: 200 żądań / 10s, blokada 60s
if (vsthrottle.is_denied(client.identity, 200, 10s, 60s)) {
return (synth(429, "Too Many Requests"));
}