Allow certs for domains which are available
This commit is contained in:
parent
3da8c435e4
commit
96cfc5c40e
|
@ -485,6 +485,9 @@ function create_letsencrypt {
|
|||
domain_found=1
|
||||
fi
|
||||
fi
|
||||
if [ -f /etc/nginx/sites-available/${new_domain} ]; 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
|
||||
|
|
Loading…
Reference in New Issue