acme-common: Resolve problem with webroot symlink

Signed-off-by: Bartosz Cieślik <bartoszcieslik2@gmail.com>
This commit is contained in:
Bartosz Cieślik
2025-02-10 19:11:15 +01:00
committed by Tianling Shen
parent 56139cc52b
commit d4cf046433
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=acme-common PKG_NAME:=acme-common
PKG_VERSION:=1.4.1 PKG_VERSION:=1.4.2
PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk> PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
PKG_LICENSE:=GPL-3.0-only PKG_LICENSE:=GPL-3.0-only

View File

@@ -4,7 +4,7 @@
# Create a symlink to webroot # Create a symlink to webroot
if [ -d /www/ ] && [ ! -L /www/.well-known/acme-challenge ] && [ ! -d /www/.well-known/acme-challenge/ ]; then if [ -d /www/ ] && [ ! -L /www/.well-known/acme-challenge ] && [ ! -d /www/.well-known/acme-challenge/ ]; then
mkdir -p /www/.well-known/ mkdir -p /www/.well-known/
ln -s /var/run/acme/challenge/ /www/.well-known/acme-challenge ln -s /var/run/acme/challenge/.well-known/acme-challenge /www/.well-known/acme-challenge
fi fi
# migrate deprecated opts # migrate deprecated opts