ソースを参照

Allow jitsi cert creation without www directory

Bob Mottram 8 年 前
コミット
cad0f433be
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3
    0
      src/freedombone-sec

+ 3
- 0
src/freedombone-sec ファイルの表示

@@ -488,6 +488,9 @@ function create_letsencrypt {
488 488
         if [ -f /etc/nginx/sites-available/${new_domain} ]; then
489 489
             domain_found=1
490 490
         fi
491
+        if [[ "${new_domain}" == "jitsi"* || "${new_domain}" == "meet"* ]]; then
492
+            domain_found=1
493
+        fi
491 494
         if [ ! $domain_found ]; then
492 495
             dialog --title $"Create a new Let's Encrypt certificate" \
493 496
                    --msgbox $'Domain not found within /var/www' 6 40