-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow scoping rate-limits to specific resources and paths
- Loading branch information
1 parent
eeca233
commit 7c57cff
Showing
12 changed files
with
254 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,43 @@ | ||
[[rate-limit]] | ||
name = "Let's Encrypt rate-limit" | ||
name = "Let's Encrypt newOrder" | ||
acme_resources = ["newOrder"] | ||
number = 300 | ||
period = "3h" | ||
|
||
[[rate-limit]] | ||
name = "Let's Encrypt overall named resources" | ||
acme_resources = ["newNonce", "newAccount", "newOrder", "revokeCert"] | ||
number = 20 | ||
period = "1s" | ||
|
||
[[rate-limit]] | ||
name = "Let's Encrypt overall path prefix" | ||
path = "^https://acmed-v02.api\.letsencrypt\.org/(directory)|(acme/.*)$" | ||
number = 40 | ||
period = "1s" | ||
|
||
[[endpoint]] | ||
name = "Let's Encrypt v2 production" | ||
url = "https://acme-v02.api.letsencrypt.org/directory" | ||
rate_limits = ["Let's Encrypt rate-limit"] | ||
rate_limits = [ | ||
"Let's Encrypt newOrder", | ||
"Let's Encrypt overall named resources", | ||
"Let's Encrypt overall path prefix" | ||
] | ||
tos_agreed = false | ||
|
||
[[rate-limit]] | ||
name = "Let's Encrypt newOrder staging" | ||
acme_resources = ["newOrder"] | ||
number = 300 | ||
period = "3h" | ||
|
||
[[endpoint]] | ||
name = "Let's Encrypt v2 staging" | ||
url = "https://acme-staging-v02.api.letsencrypt.org/directory" | ||
rate_limits = ["Let's Encrypt rate-limit"] | ||
rate_limits = [ | ||
"Let's Encrypt newOrder staging", | ||
"Let's Encrypt overall named resources", | ||
"Let's Encrypt overall path prefix" | ||
] | ||
tos_agreed = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.