Skip to content

Commit

Permalink
caddy fiel rate limit env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
HughParry committed Jan 15, 2025
1 parent 5cf2c7c commit fcdd9d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/provider.Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
# The rate limit is applied to `remote_host` with a limit of 6 requests per 6 seconds (60 requests per minute).
zone dynamic_example {
key {remote_host}
events 6
window 6s
events {$CADDY_RATE_LIMIT_EVENTS}
window {$CADDY_RATE_LIMIT_WINDOW}
}
log_key
}
Expand Down

0 comments on commit fcdd9d6

Please sign in to comment.