Allow jitsi cert creation without www directory

This commit is contained in:
Bob Mottram 2016-11-09 19:40:05 +00:00
parent 7421073c2b
commit cad0f433be
1 changed files with 3 additions and 0 deletions

View File

@ -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