Configure SSL with LetsEncrypt and nginx

$ git clone https://github.com/letsencrypt/letsencrypt  $ cd letsencrypt  $ ./letsencrypt-auto --agree-dev-preview --server \
https://acme-v01.api.letsencrypt.org/directory auth
server {      listen 443 ssl;      server_name micropyramid.com;      ssl_certificate /etc/letsencrypt/live/micropyramid.com/fullchain.pem;      ssl_certificate_key /etc/letsencrypt/live/micropyramid.com/privkey.pem;  }
$ sudo service nginx reload

The article was originally published at MicroPyramid blog

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
MicroPyramid

MicroPyramid

Python, Django, Android and IOS, reactjs, react-native, AWS, Salesforce consulting & development company