Hello there (:
I know the really basics. I also installed caddy and use it as service, running a little test site… all fine.
But I want caddy to be my reverse proxy from outside (www) to my inside network. So when I browse for cloud.domain.tld I want to reach my intern server A with nextcloud running on it. www.domain.tld goes to server B with wordpress installed.
- Caddy tries to get Certs for all the (sub)domains, but it can’t solve the challenge. That’s right, I know why. But I don’t know how I can tell caddy that caddy should do it on caddy’s own server.
- Is this best practise, to use caddy as reverse proxy which handle the ssl certs? Some services I use don’t support SSL, so I would like to have a SSL connection till caddy, and the intern traffic can be unencrypted.
I hope my problem is understandable. I think I just need an example.
Thank you all for reading so far