Closed tka85 closed 1 year ago
Hi @tka85,
Try running:
docker compose restart --no-deps nginx
This is a bug. After removing the domain, CLI reloads Nginx config: https://github.com/eugene-khyst/letsencrypt-docker-compose/blob/f4169533dc30f30cf0401daa1b6919bdf6cb2217/cli/src/cli.js#L264
But reloading Nginx config doesn't have any effect on this line of the already running Bash script: https://github.com/eugene-khyst/letsencrypt-docker-compose/blob/f4169533dc30f30cf0401daa1b6919bdf6cb2217/nginx/start-nginx.sh#L21
After removing the domain CLI should restart nginx
container.
I will fix it. Thanks for reporting the bug.
@tka85 , have you solved the problem?
Yep. Thank you very much.
Worked like a charm!
I added a new service but I mistyped the domain name. Something like
example.orgg
instead of.org
.I realized it too late and re-run to remove it. Removed successfully (no traces in
config.json
or undernginx-conf/
) but now I see in the logs ofletsencrypt-docker-compose-nginx-1
constantly the messageWaiting for Let's Encrypt certificate for example.orgg
.Something I can do to clean up so this stops?