web: fix running acme.sh on the right home directory
This commit is contained in:
@@ -21,6 +21,7 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
|
|||||||
if [[ $LETSENCRYPT_USE_STAGING -eq 1 ]]; then
|
if [[ $LETSENCRYPT_USE_STAGING -eq 1 ]]; then
|
||||||
STAGING="--staging"
|
STAGING="--staging"
|
||||||
fi
|
fi
|
||||||
|
export LE_WORKING_DIR="/config/acme.sh"
|
||||||
# TODO: move away from standalone mode to webroot mode.
|
# TODO: move away from standalone mode to webroot mode.
|
||||||
if ! /config/acme.sh/acme.sh \
|
if ! /config/acme.sh/acme.sh \
|
||||||
$STAGING \
|
$STAGING \
|
||||||
|
|||||||
Reference in New Issue
Block a user