LetsEncrypt on apache-only fix for #966

This commit is contained in:
Serghey Rodin 2017-01-16 13:57:19 +02:00
commit 310a379705

View file

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