Comment on
Route domain name to Docker containers on Synology NAS?
If using Docker, then just setup NGINX Proxy Manager. It has Let's Encrypt built in, so you literally just fill out a few fields, ask for a new certificate, provide your email, and BAM!, all done.