Skip to content

Commit 310a379

Browse files
author
Serghey Rodin
committed
LetsEncrypt on apache-only fix for hestiacp#966
1 parent a50fa85 commit 310a379

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/v-check-letsencrypt-domain

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ if [ "$WEB_SYSTEM" = 'nginx' ] || [ "$PROXY_SYSTEM" = 'nginx' ]; then
9797
fi
9898
else
9999
acme="$HOMEDIR/$user/web/$r_domain/public_html/.well-known/acme-challenge"
100-
echo "$token" > $acme/$token.$thumb
100+
mkdir -p $acme
101+
echo "$token.$thumb" > $acme/$token
101102
chown -R $user:$user $HOMEDIR/$user/web/$r_domain/public_html/.well-known
102103
fi
103104

0 commit comments

Comments
 (0)