Yes, just noticed the same thing while trying it out myself:
[pid 1298] openat(AT_FDCWD, "/usr/local/apache2/conf/httpd.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
Oops! Looks like some confusion with the container as to where the authoritative Apache installation is, due to mixing apk
with the apache.org version of httpd.
Moving the vhost to the other Apache installation worked OK for me (making sure to include it + enable mod_rewrite) in combination with this Certbot flag:
--apache-server-root /usr/local/apache2/
Or I guess you could just try normal apache2
from alpine:3.15
, rather than the first-party Apache.org Alpine image.