Eddie Hinkle

Using Certbot with Nginx

I use to be able to use a --nginx command with Certbot to add https to my domains on my server. That plugin doesn't work correctly anymore and I always forget the command. So this is really a reminder for myself:

  1. sudo certbot --authenticator standalone --installer nginx --pre-hook "service nginx stop" --post-hook "service nginx start"

If you are searching around for ways to get Certbot to work with your Nginx, I hope this helped you, because it sure is handy to remind me.

58.19 ℉🌧techcode-examples
posted using quill.p3k.io
Please note: This site is in an active redesign. Some things might be a little off 🧐