From b31a689b2682fa13daf5fb95c1375f952e11d990 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sat, 25 May 2019 23:04:57 +0200 Subject: [PATCH] Fix the http-01-echo default hook --- CHANGELOG.md | 3 +++ acmed/config/default_hooks.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7940fe4..21c8bb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Hooks now have the optional `allow_failure` field. +### Fixed +- The http-01-echo hook now correctly sets the file's access rights + ## [0.5.0] - 2019-05-09 diff --git a/acmed/config/default_hooks.toml b/acmed/config/default_hooks.toml index e52d723..0120b02 100644 --- a/acmed/config/default_hooks.toml +++ b/acmed/config/default_hooks.toml @@ -34,7 +34,7 @@ stdout = "{{#if env.HTTP_ROOT}}{{env.HTTP_ROOT}}{{else}}/var/www{{/if}}/{{domain [[hook]] name = "http-01-echo-chmod" -type = ["challenge-http-01-clean"] +type = ["challenge-http-01"] cmd = "chmod" args = [ "a+r",