mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
LetsEncrypt on apache-only fix for #966
This commit is contained in:
parent
a50fa85ef0
commit
310a379705
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue