Browse Source

Move LE endpoints to separate config file

pull/43/head
ltdk 4 years ago
parent
commit
c68c111619
  1. 20
      acmed/config/acmed.toml
  2. 16
      acmed/config/letsencrypt.toml

20
acmed/config/acmed.toml

@ -1,20 +1,4 @@
include = [
"default_hooks.toml"
"default_hooks.toml",
"letsencrypt.toml",
]
[[rate-limit]]
name = "LE min"
number = 20
period = "1s"
[[endpoint]]
name = "letsencrypt v2 prod"
url = "https://acme-v02.api.letsencrypt.org/directory"
rate_limits = ["LE min"]
tos_agreed = false
[[endpoint]]
name = "letsencrypt v2 staging"
url = "https://acme-staging-v02.api.letsencrypt.org/directory"
rate_limits = ["LE min"]
tos_agreed = false

16
acmed/config/letsencrypt.toml

@ -0,0 +1,16 @@
[[rate-limit]]
name = "LE min"
number = 20
period = "1s"
[[endpoint]]
name = "letsencrypt v2 prod"
url = "https://acme-v02.api.letsencrypt.org/directory"
rate_limits = ["LE min"]
tos_agreed = false
[[endpoint]]
name = "letsencrypt v2 staging"
url = "https://acme-staging-v02.api.letsencrypt.org/directory"
rate_limits = ["LE min"]
tos_agreed = false
Loading…
Cancel
Save