fix a minor bug in scripts/ssl.sh

This commit is contained in:
Wenbin Hou 2018-12-26 15:16:44 +08:00 committed by GitHub
parent 0157060518
commit 2e1caa9e3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ ssl_key=${domain}.key
ssl_crt=${domain}.crt ssl_crt=${domain}.crt
mkdir -p /var/www/challenges && chmod -R 777 /var/www/challenges mkdir -p /var/www/challenges && chmod -R 777 /var/www/challenges
mkdir -p ssldir mkdir -p $ssldir
if ! [[ -d $letsencryptdir ]]; then if ! [[ -d $letsencryptdir ]]; then
git clone git://github.com/diafygi/acme-tiny.git $letsencryptdir git clone git://github.com/diafygi/acme-tiny.git $letsencryptdir