Connecting to Synology NAS with DSM 7

Now that I got it to work, I’m curious and would like to ask more questions, if I may:

  1. I thought I configured NAS port 5001 as the HTTPS, and then NAS port 5000 as HTTP. I checked that this seems the case when I connect it locally with the IP address.

Why is it that caddy requires the reverse proxy to use HTTP port?

  1. Caddy isn’t able to automatically retrieve and manage the HTTPS certificate for me for this subdomain, any idea on why this is?