Skip to content

Commit

Permalink
Merge pull request breard-r#48 from rzerres/wip-toml
Browse files Browse the repository at this point in the history
Update toml files
  • Loading branch information
breard-r authored Apr 30, 2021
2 parents d8f53d5 + fb77040 commit 5928156
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
6 changes: 6 additions & 0 deletions acmed/config/acmed.toml
Original file line number Diff line number Diff line change
@@ -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 changes: 5 additions & 5 deletions acmed/config/letsencrypt.toml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5928156

Please sign in to comment.