Browse Source

Merge pull request #43 from clarfonthey/main

Move LE endpoints to separate config file
pull/44/head
Rodolphe Bréard 4 years ago
committed by GitHub
parent
commit
8edd8c0bc5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      acmed/config/acmed.toml
  2. 16
      acmed/config/letsencrypt.toml

20
acmed/config/acmed.toml

@ -1,20 +1,4 @@
include = [ 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