From 2dbcbae267f5d2e7e5a94e64ce2c8f89044c7a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ba=CC=81lint=20Szekeres?= Date: Sat, 21 Sep 2019 10:51:45 +0200 Subject: [PATCH] certbot command quote domains with hyphen fixes #113 --- public/templates/commands.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/templates/commands.html b/public/templates/commands.html index b3f5f54..ece3e3a 100644 --- a/public/templates/commands.html +++ b/public/templates/commands.html @@ -48,9 +48,9 @@ certbot certonly --webroot -d {{ _domain }} -d www.{{ _domain }} -d cdn.{{ _domain }} -d {{ _domain.indexOf('-') !== -1 ? '"' + _domain + '"' : _domain }} -d {{ _domain.indexOf('-') !== -1 ? '"' : '' }}www.{{ _domain }}{{ _domain.indexOf('-') !== -1 ? '"' : '' }} -d {{ _domain.indexOf('-') !== -1 ? '"' : '' }}cdn.{{ _domain }}{{ _domain.indexOf('-') !== -1 ? '"' : '' }} --email {{ data.sites[_site].email ? data.sites[_site].email : 'info@' + _domain }} -w {{ data.directory_letsencrypt.replace(endingSlashRegex, '') }} -n