acme-companion
acme-companion copied to clipboard
Slow creation for new domain
trafficstars
https://github.com/nginx-proxy/acme-companion/blob/9fbd6684efba2d740f195f12888362307d26bb59/app/letsencrypt_service#L432C5-L432C5
This loop can take a long moment if you have lots of domains/containers. This is a NOT a problem for certificate renewal, but it is for certificate CREATION.
This list is ordered (by go) in alphabetical order. If you new domain starts with the letter V for instance, you have to wait for ACME script to walk through all previous domains (even if no action required yet) before reaching you newly domain.
This can prevent your domain to be ready for several minutes if you have lots of domains and this time vary a lot based on your domain name (alphabetical order).
- What solution is possible?
- Can this loop be split into multiple chunks and run in parallel? And then using a
waitbefore going on? - Did I reach a point where
nginx + acme-companionis not a viable solution anymore? What do you recommend if this is the case?