Hi,
I have uninstalled using certbot delete but now I can not restart nginx, I am seeing the following error. I have checked the /etc/nginx/nginx.conf file and there is no reference to any certificate in here. I have deleted the file with the server block in for this uninstalled certificate so it isn’t related to this. For some reason nginx is looking for the uninstalled certificate but I don’t know why?
[emerg] BIO_n ew_file("/etc/letsencrypt/live/www.mydomain.com/fullchain.pem") failed (SSL:
error:02001002:system library:fopen:No such file or d
irectory:fopen(\'/etc/letsencrypt/live/www.mydomain.com/fullchain.pem\',\'r\') error:2006D080:BIO
routines:BIO_new_file:no such fi le)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
root@spinchix:/etc/nginx/sites-enabled# nano /etc/nginx/nginx.conf