wmnnd / nginx-certbot

Boilerplate configuration for nginx and certbot with docker-compose
MIT License
3.16k stars 1.17k forks source link

Cant create private key file #123

Closed rajreetanchanto closed 2 years ago

rajreetanchanto commented 2 years ago

I am facing this error:

writing new private key to '/etc/letsencrypt/live/example.com/privkey.pem'
req: Can't open "/etc/letsencrypt/live/example.com/privkey.pem" for writing, No such file or directory
ERROR: 1

I have added additional commands to the script like touch to create the file, but still not working

rajreetanchanto commented 2 years ago

I wrote wrong file path in the volumes section of docker-compose