diff --git a/evoacme/files/evoacme.sh b/evoacme/files/evoacme.sh index e35c97b9..7875d889 100755 --- a/evoacme/files/evoacme.sh +++ b/evoacme/files/evoacme.sh @@ -53,7 +53,7 @@ sed_cert_path_for_apache() { if ! $(grep -qE "${search}" "${vhost_full_path}"); then [ -w "${vhost_full_path}" ] || error "File ${vhost_full_path} is not writable" - sed -i "s~^${search}~${replace}~" "${vhost_full_path}" + sed -i "s~${search}~${replace}~" "${vhost_full_path}" debug "Config in ${vhost_full_path} has been updated" $(command -v apache2ctl) -t fi