TLS connect errors when trying to set up Nextcloud-AIO behind Caddy

Can you exec to your caddy container and see if you can resolve the name nextcloud-aio-apache?