This is for traefik but might help to understand the process and change it for caddy (https://youtu.be/liV3c9m_OX8)
You should have
For local only services (Vaultwarden) and
For external things (immich)
I’m your router / Pihole locally, you setup the above URLs to point to the IP of caddy












I know its been a very long time, but this post has helped me immensely and is exactly what I needed to complete my setup. Thanks!