mirror of
https://github.com/easychen/pushdeer.git
synced 2025-02-23 00:14:56 +08:00
Update 安装文档.md
This commit is contained in:
parent
c2283e50f9
commit
a0d07f4362
@ -53,14 +53,14 @@ services:
|
|||||||
#### 放置证书文件
|
#### 放置证书文件
|
||||||
|
|
||||||
申请域名对应的 SSL 证书,获得证书文件( `example.crt` )和私钥文件( `example.key`)。
|
申请域名对应的 SSL 证书,获得证书文件( `example.crt` )和私钥文件( `example.key`)。
|
||||||
在`/docker/web/`下建立 `ssl` 目录,将证书文件重命名为 `server.crt` 和 私钥文件重命名为 `server.key` 。
|
在`项目根目录`下建立 `ssl` 目录,将证书文件重命名为 `server.crt` 和 私钥文件重命名为 `server.key` 。
|
||||||
|
|
||||||
如果你下载的证书中还包含根证书(root_crt),可将根证书文本追加到 `server.crt` 之后。
|
如果你下载的证书中还包含根证书(root_crt),可将根证书文本追加到 `server.crt` 之后。
|
||||||
|
|
||||||
#### 通过Dockfile将证书复制到镜像内
|
<!-- #### 通过Dockfile将证书复制到镜像内
|
||||||
|
|
||||||
[按提示修改Dockerfile](https://github.com/easychen/pushdeer/blob/main/docker/web/Dockerfile#L27)
|
[按提示修改Dockerfile](https://github.com/easychen/pushdeer/blob/main/docker/web/Dockerfile#L27)
|
||||||
|
-->
|
||||||
|
|
||||||
#### 修改虚拟host配置
|
#### 修改虚拟host配置
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user