Files
Deployments/frps/README.md
2022-11-24 20:32:05 +08:00

15 lines
691 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 前期准备
1. 用acme搞定泛域名ca证书。参看acme项目。
2. 部署nginx docker。参看nginx项目。
3. 根据nginx docker的网络设置对应确定自己的docker-compose.yml文件中的对应内容设置正确。其中包括
- nginx所在的网络名称。配置到自己的docker-compose.yml文件中的网络定义中的external->name中去。
- 根据网络定义设定自己的固定ip。
- 复制conf.d下的文件到nginx配置目录下的conf.d下。
- 确保刚复制的文件配置正确。如其中证书所在路径应符合之前acme复制证书时的目标目录。
## 安装
执行docker-compose up -d
并验证是否成功。