Config expressions passing tests.

This commit is contained in:
mdecimus
2024-01-19 13:06:39 +01:00
parent 4551576e04
commit 02faa04e27
44 changed files with 344 additions and 304 deletions

View File

@@ -1,10 +1,10 @@
[[throttle]]
match = {if = "remote-ip", eq = "127.0.0.1"}
key = ["remote-ip", "authenticated-as"]
match = "remote_ip == '127.0.0.1'"
key = ["remote_ip", "authenticated_as"]
concurrency = 100
rate = "50/30s"
[[throttle]]
key = "sender-domain"
key = "sender_domain"
concurrency = 10000