Tutorial for Setting up Caddy as Reverse Proxy for Docker

I am trying to find a tutorial on how to properly setup Caddy as a reverse proxy for my Docker server and pull certs from a set directory on my host. I have checked the tutorial section out:


But it does not really answer my question. Can anyone point me in the right direction?

Hi @c0fe, welcome to the Caddy community!

I don’t know any tutorials off the top of my head, but I might be able to get you started and point you to the right documentation.

Reverse proxying is very straightforward - it’s generally just proxy / [HOST]:[PORT] in your Caddyfile.


You can pull certs from a directory with the tls directive, specifically the load subdirective. This will disable Automatic HTTPS, though, and you will need to provide more Caddyfile configuration to cover that. It’s much simpler to allow Caddy to requisition its own certificates and manage them for you.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.