setup_https_with_nginx_and_letsencrypt
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
setup_https_with_nginx_and_letsencrypt [2018/03/07 04:53] – 外部编辑 127.0.0.1 | setup_https_with_nginx_and_letsencrypt [2024/02/04 04:49] (当前版本) – 外部编辑 127.0.0.1 | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ## 使用Letsencrypt 配置https | ||
+ | |||
注意:以下都是以ubuntu 16.04 环境为例子, | 注意:以下都是以ubuntu 16.04 环境为例子, | ||
行 29: | 行 31: | ||
certbot certonly --standalone --email < | certbot certonly --standalone --email < | ||
``` | ``` | ||
+ | |||
===== 配置nginx的 http 和https跳转===== | ===== 配置nginx的 http 和https跳转===== | ||
行 55: | 行 58: | ||
| | ||
} | } | ||
+ | ``` | ||
+ | |||
+ | ===== 添加新域名到已有证书下 ===== | ||
+ | |||
+ | ``` | ||
+ | certbot certonly --cert-name example.com -d m.example.com, | ||
``` | ``` | ||
setup_https_with_nginx_and_letsencrypt.1520398394.txt.gz · 最后更改: (外部编辑)