caddy配置文件默认路径:/etc/caddy/Caddyfile

yourdomain:443 {
  reverse_proxy localhost:9001
}
reverse_proxy后面跟本地主机和服务端口,比如docker容器的宿主机端口