setup_https_with_nginx_and_letsencrypt
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
setup_https_with_nginx_and_letsencrypt [2018/01/15 10:29] – jiaji | 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 环境为例子, | ||
行 30: | 行 32: | ||
``` | ``` | ||
- | ===== nginx http 和https的配置文件 | + | |
+ | ===== 配置nginx的 http 和https跳转===== | ||
``` | ``` | ||
行 55: | 行 58: | ||
| | ||
} | } | ||
+ | ``` | ||
+ | |||
+ | ===== 添加新域名到已有证书下 ===== | ||
+ | |||
+ | ``` | ||
+ | certbot certonly --cert-name example.com -d m.example.com, | ||
``` | ``` | ||
setup_https_with_nginx_and_letsencrypt.1516012155.txt.gz · 最后更改: (外部编辑)