Merge pull request #1006 from urosg80/master

fix for nginx less (apache only) installation
This commit is contained in:
System Void 2017-02-13 00:27:56 +00:00 committed by GitHub
commit fbaf05a432

View file

@ -97,7 +97,9 @@ if [ "$WEB_SYSTEM" = 'nginx' ] || [ "$PROXY_SYSTEM" = 'nginx' ]; then
fi
else
acme="$HOMEDIR/$user/web/$r_domain/public_html/.well-known/acme-challenge"
mkdir -p $acme
if [ ! -d "$acme" ]; then
mkdir -p $acme
fi
echo "$token.$thumb" > $acme/$token
chown -R $user:$user $HOMEDIR/$user/web/$r_domain/public_html/.well-known
fi