Skip to content

Commit 1d2c68a

Browse files
committed
web: fix running acme.sh on the right home directory
1 parent 5c44a84 commit 1d2c68a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/rootfs/etc/cont-init.d/10-config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
2121
if [[ $LETSENCRYPT_USE_STAGING -eq 1 ]]; then
2222
STAGING="--staging"
2323
fi
24+
export LE_WORKING_DIR="/config/acme.sh"
2425
# TODO: move away from standalone mode to webroot mode.
2526
if ! /config/acme.sh/acme.sh \
2627
$STAGING \

0 commit comments

Comments
 (0)