From ebc50a325a2b5e00f4e85213721084693df5b70c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szekeres=20Ba=CC=81lint?= Date: Tue, 18 Dec 2018 23:48:03 +0100 Subject: [PATCH] create ACME-challenge common directory command fix --- public/templates/commands.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/commands.html b/public/templates/commands.html index 05b4ee6..beea433 100644 --- a/public/templates/commands.html +++ b/public/templates/commands.html @@ -21,7 +21,7 @@ ✔ Let's Encrypt --># HTTPS - certbot (before first run): create ACME-challenge common directory -sudo -u {{ data.user }} sh -c "mkdir -p /var/www/_letsencrypt" +mkdir -p /var/www/_letsencrypt && chown {{ data.user }} /var/www/_letsencrypt # HTTPS - certbot (before first run): disable SSL directives sed