1. Caddy version (2.2.1
):
2. How I run Caddy:
a. System environment:
systemd
b. Command:
systemctl status caddy
c. Service/unit/compose file:
paste full file contents here
d. My complete Caddyfile or JSON config:
{
on_demand_tls {
ask https://mydomain.com/caddy/allowed-domain
}
}
:80 {
respond /health "Im healthy!" 200
}
:443 {
tls myemail@gmail.com {
on_demand
}
reverse_proxy 1.1.1.1 1.1.1.2
}
3. The problem I’m having:
I was going to start caddy.
4. Error messages and/or full log output:
5. What I already tried:
I did this in v.2.1.2 and it’s worked well. On other server, it’s working now too.
6. Links to relevant resources:
Thanks