I'm trying to set up caddy using docker image `caddy:2.2.1-alpine`. My Caddyfile… is below (my actual domain replaced with mydomain.com):
```
{
debug
}
mydomain.com
reverse_proxy server:5000
```
I receive an error "obtaining certificate: EOF" with no other information, even with debug mode enabled.
I confirmed my server is open on port 443 and 80 and my domain resolves to the IP of my server. How can I troubleshoot this issue with no other information being logged about the error?
```
{"level":"info","ts":1609737694.43828,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
{"level":"info","ts":1609737694.4443681,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
{"level":"info","ts":1609737694.4484055,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0002d1180"}
{"level":"info","ts":1609737694.4759352,"logger":"http","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
{"level":"info","ts":1609737694.4760537,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
{"level":"debug","ts":1609737694.4804416,"logger":"http","msg":"starting server loop","address":"[::]:443","http3":false,"tls":true}
{"level":"debug","ts":1609737694.4807186,"logger":"http","msg":"starting server loop","address":"[::]:80","http3":false,"tls":false}
{"level":"info","ts":1609737694.4808028,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["mydomain.com"]}
{"level":"info","ts":1609737694.4855857,"msg":"autosaved config","file":"/config/caddy/autosave.json"}
{"level":"info","ts":1609737694.485909,"msg":"serving initial configuration"}
{"level":"info","ts":1609737694.4901412,"logger":"tls","msg":"cleaned up storage units"}
{"level":"info","ts":1609737694.6138184,"logger":"tls.obtain","msg":"acquiring lock","identifier":"mydomain.com"}
{"level":"error","ts":1609737694.6279685,"logger":"tls","msg":"job failed","error":"mydomain.com: obtaining certificate: EOF"}
{"level":"debug","ts":1609738224.809364,"logger":"http.stdlib","msg":"http: TLS handshake error from 76.102.51.62:56385: no certificate available for 'mydomain.com'"}
{"level":"debug","ts":1609738224.924671,"logger":"http.stdlib","msg":"http: TLS handshake error from 76.102.51.62:56387: no certificate available for 'mydomain.com'"}
{"level":"debug","ts":1609738224.925654,"logger":"http.stdlib","msg":"http: TLS handshake error from 76.102.51.62:56386: no certificate available for 'mydomain.com'"}
{"level":"debug","ts":1609738225.0172453,"logger":"http.stdlib","msg":"http: TLS handshake error from 76.102.51.62:56388: no certificate available for 'mydomain.com'"}
```