I am writing a project, called wikimirror to use Docker containers and the Caddy server to set proxies of Wikipedia. Each language version Wikipedia has its own subdomain (en for English, es for Spanish, de for German, etc.) and so I created a Caddyfile with several subdomains. I have in total 1 domain and 118 subdomains that serve 59 different languages for which I have:
Here’s the complete Caddyfile in a paste
However when I launch caddy (with
sudo ~/caddy/caddy) I get the following error:
Activating privacy features...2017/06/08 10:27:36 [az.m.vikiansiklopedi.org] failed to get certificate: acme: Error 429 - urn:acme:error:rateLimited - Error creating new cert :: too many certificates already issued for: vikiansiklopedi.org
At first I whough that I was hitting Let’s Encrypt rate limits, since I was using the main endpoint also for testing but I have tried waiting for more than a week (that should be the time window needed for resetting the limits) and I still get that error.
If I launch Caddy with the Let’s Encrypt staging endpoint I am able to run Caddy and I get:
$ sudo ~/caddy/caddy --ca http//acme-staging.api.letsencrypt.org/directory
Activating privacy features… done.
How should I change my configuration to make it work?
Thanks in advance for your help.