https-on-nginx

nginx部署https

简介

使用let's encrypt

命令

  • 单独域名

    1
    $ certbot certonly --standalone --preferred-challenges http  -d <your-domain>
  • valid cert

    1
    $ certbot certonly -d <*.example.com> --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory