Browse Source

Merge pull request #48 from rzerres/wip-toml

Update toml files
pull/51/head
Rodolphe Bréard 4 years ago
committed by GitHub
parent
commit
5928156351
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Makefile
  2. 6
      acmed/config/acmed.toml
  3. 10
      acmed/config/letsencrypt.toml

1
Makefile

@ -54,6 +54,7 @@ install:
install -m 0644 $(TARGET_DIR)/man/acmed.toml.5.gz $(DESTDIR)$(MAN5DIR)/acmed.toml.5.gz; \
install -m 0644 acmed/config/acmed.toml $(DESTDIR)$(SYSCONFDIR)/acmed/acmed.toml; \
install -m 0644 acmed/config/default_hooks.toml $(DESTDIR)$(SYSCONFDIR)/acmed/default_hooks.toml; \
install -m 0644 acmed/config/letsencrypt.toml $(DESTDIR)$(SYSCONFDIR)/acmed/letsencrypt.toml; \
fi
if test -f "$(TARGET_DIR)/tacd"; then \
install -m 0755 $(TARGET_DIR)/tacd $(DESTDIR)$(BINDIR)/tacd; \

6
acmed/config/acmed.toml

@ -1,4 +1,10 @@
# ------------------------------------------------------------------------
# Base configruation for ACMEd
# You should adapt this file to include/enhance with your custom toml's
# ------------------------------------------------------------------------
include = [
"default_hooks.toml",
"letsencrypt.toml",
"my_server.toml"
]

10
acmed/config/letsencrypt.toml

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