From c68c1116190653ccbf5d8648beca908b37653092 Mon Sep 17 00:00:00 2001 From: ltdk Date: Fri, 12 Mar 2021 17:55:42 -0500 Subject: [PATCH] Move LE endpoints to separate config file --- acmed/config/acmed.toml | 20 ++------------------ acmed/config/letsencrypt.toml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 acmed/config/letsencrypt.toml 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