abiosoft / caddy-docker

Docker container for Caddy
https://hub.docker.com/r/abiosoft/caddy/
MIT License
768 stars 315 forks source link

The log is not showing my email #163

Open itr6 opened 5 years ago

itr6 commented 5 years ago
vpn.Domain2.com {
  tls Email@Domain1.com
  header / Strict-Transport-Security "max-age=31536000;"
  gzip
  proxy / https://IPADDRESS:PORT {
    insecure_skip_verify
    websocket
    transparent
  }
}

This is my caddyfile but when I run my docker command, I dont see my email address. This is the log:

Activating privacy features... 
Your sites will be served over HTTPS automatically using Let's Encrypt.
By continuing, you agree to the Let's Encrypt Subscriber Agreement at:
  https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Please enter your email address to signify agreement and to be notified
in case of issues. You can leave it blank, but we don't recommend it.
01/24 16:30:47 registration error: acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-acct :: urn:ietf:params:acme:error:rateLimited :: Error creating new account :: too many registrations for this IP: see https://letsencrypt.org/docs/rate-limits/, url: 
exit status 1
  Email address:  Activating privacy features... 

Is this normal? Is my caddyfile wrong? Can my email differ from the domain I want to get the cert for? Any help would be greatly appreciated.

This is my docker command:

docker run --name caddy -e "ACME_AGREE=true" -e "CADDYPATH=/etc/caddycerts" -v /home/user/docker/caddy/.certs:/etc/caddycerts -v /home/user/docker/caddy/Caddyfile:/etc/Caddyfile -v /home/user/docker/caddy/srv:/srv --net=host abiosoft/caddy