I have Ubuntu 18.04 with Nginx (for website) and Let's Encrypt. It works as it should, but I have a question. Some months ago I migrated from Apache to Nginx. Now I noticed that Let's Encrypt isn't in "optimal condition" :-) It works properly, but in /etc/letsencrypt/renewal conf file, I can see:


Beside that, there is only options-ssl-apache.conf in /etc/letsencrypt folder. In my opinion, this isn't optimal configuration, even if it looks ok. Any idea how to solve the situation? Remove Let's Encrypt, delete certs and install it again with only Nginx support. BTW - Apache isn't installed any more.

  • What "letsencrypt" did you install exactly? certbot package? – Gerrit Nov 28 '19 at 7:36
  • Yes, the certbot package. – JanezKranjski Nov 28 '19 at 14:29

You should reinstall with certbort nginx.

You can use this tutorial


  • 1
    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Gerald Schneider Nov 28 '19 at 10:24
  • @KaungThant - this was the same as I thought. Tnx. – JanezKranjski Nov 28 '19 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.