Open kosyachniy opened 4 years ago
Happened to me, I had not changed the domain properly, so the path to the certificated was invalid, preventing nginx from starting
I'm not sure if this is your issue, but I was running into the same issue. In init-letsencrypt.sh
I removed the -d
from the docker-compose command that starts nginx after creating the dummy certificate so I could see any logs and sure enough it was complaining about the dummy certificate and it said something like "ee key too small" and nginx wouldn't start.
I fixed it by changing rsa:1024
to rsa:2048
in the openssl
command (then re-adding the -d
I had removed) and then everything worked.
I follow the instruction. I changed domains and mail in init-letsencrypt.sh and app.conf. When I run ./init-letsencrypt.sh, I get error:
How can I fix it?