I understand, that caddy from the command line is somewhat tricky. Forcing ‘http://localhost:2015’ works - however these are only first steps to get a very little experience with caddy - but not necessarily relevant for real application.
Therefore I assume to go back to my original plan, to run a caddy within a container. The underlying question for this, is following:
I have a Domain and some subdomains. For all of them I have a common set of certificates and keys. The connection to the internet is established by a router with one (external) ipv4 address and updated by the router itself (DynDNS). Is caddy able to proxy from subdomains to individual ip addresses within the LAN?
I try to set this up and in case of questions I’ll come back - with a new topic.
Thanks and cheers
Uli