Hello, I’m trying to enable HTTPS using Caddy. I’m running Caddy with caddyfile configuration, my file looks like this:
domain.com {
timeouts 0
proxy / localhost:3000 {
except /assets
except /.well-known
}
log stdout
errors stdout
}
But I get this error
2018-05-07T19:39:45.676473753Z 2018/05/07 19:39:45 [domain.com] failed to get certificate: acme: Error 400 - urn:ietf:params:acme:error:connection - Fetching http://domain.com/.well-known/acme-challenge/bfiwW7MQfJB7GCSeHgsqJ6dOixp0KTAqsjOXntz8ELs: Connection refused
2018-05-07T19:39:45.676524376Z exit status 1