diff --git a/acmed/config/acmed.toml b/acmed/config/acmed.toml index ad01320..6510a24 100644 --- a/acmed/config/acmed.toml +++ b/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 diff --git a/acmed/config/letsencrypt.toml b/acmed/config/letsencrypt.toml new file mode 100644 index 0000000..80ea99a --- /dev/null +++ b/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