refactor(frps): 重构 frps 部署配置
- 移除 .env 文件,直接使用 frps.toml 配置 - 更新 README.md,调整文件结构和配置流程 - 修改 docker-compose.yml,移除不必要的配置 - 删除 init.sh 脚本,简化部署流程 - 更新 nginx 配置相关文件,统一证书文件命名
This commit is contained in:
16
docker/compose/frps/frps.toml
Normal file
16
docker/compose/frps/frps.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
bindAddr = "0.0.0.0"
|
||||
bindPort = 7000
|
||||
|
||||
auth.method = "token"
|
||||
auth.token = ""
|
||||
|
||||
webServer.addr = "0.0.0.0"
|
||||
webServer.port = 7500
|
||||
webServer.user = "admin"
|
||||
webServer.password = ""
|
||||
|
||||
# tls
|
||||
#transport.tls.force = true
|
||||
#transport.tls.certFile = "/etc/frp/ssl/server.crt"
|
||||
#transport.tls.keyFile = "/etc/frp/ssl/server.key"
|
||||
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"
|
||||
Reference in New Issue
Block a user