From cad0f433be1f2f093c04d18b85add3ad18a4e157 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Nov 2016 19:40:05 +0000 Subject: [PATCH] Allow jitsi cert creation without www directory --- src/freedombone-sec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-sec b/src/freedombone-sec index 570b0892..04fd0d46 100755 --- a/src/freedombone-sec +++ b/src/freedombone-sec @@ -488,6 +488,9 @@ function create_letsencrypt { if [ -f /etc/nginx/sites-available/${new_domain} ]; then domain_found=1 fi + if [[ "${new_domain}" == "jitsi"* || "${new_domain}" == "meet"* ]]; then + domain_found=1 + fi if [ ! $domain_found ]; then dialog --title $"Create a new Let's Encrypt certificate" \ --msgbox $'Domain not found within /var/www' 6 40