30 lines
575 B
TOML
30 lines
575 B
TOML
[[Rules]]
|
|
# Global Ratelimit
|
|
match = ""
|
|
seconds = 60
|
|
max = 30
|
|
|
|
[[Rules]]
|
|
# One DPS (Doot Per Second) for monitoring
|
|
match = "GET:/v1/sec/doot"
|
|
seconds = 5
|
|
max = 30
|
|
|
|
[[Rules]]
|
|
# 2FA doot probably doesn't need much usage at all, mainly exists as a proof of concept.
|
|
match = "GET:/v1/sec/2fa-doot"
|
|
seconds = 10
|
|
max = 1
|
|
|
|
[[Rules]]
|
|
# One Admin DPS (Doot Per Second) for monitoring
|
|
match = "GET:/v1/adm/doot"
|
|
seconds = 5
|
|
max = 3
|
|
|
|
[[Rules]]
|
|
# 2FA doot probably doesn't need much usage at all, mainly exists as a proof of concept.
|
|
match = "GET:/v1/adm/2fa-doot"
|
|
seconds = 10
|
|
max = 1
|