feat: 添加 Let's Encrypt SSL 证书管理
- 新增独立 certbot 服务项目 - nginx 配置添加 HTTPS 8443 端口监听 - frpc.toml HTTPS 代理指向 nginx:8443 - 支持自动续签并重载 nginx - 共享 Docker volume 传递证书
This commit is contained in:
@@ -1,47 +1,19 @@
|
||||
# frpc 基础配置
|
||||
serverAddr = "47.113.230.48"
|
||||
serverPort = 7000
|
||||
auth.method = "token"
|
||||
auth.token = "8f3c9b7d5e2a4f6h1i0j"
|
||||
|
||||
[[proxies]]
|
||||
name = "http"
|
||||
type = "tcp"
|
||||
localIP = "nginx-proxy"
|
||||
localPort = 80
|
||||
remotePort = 80
|
||||
|
||||
[[proxies]]
|
||||
name = "https"
|
||||
type = "tcp"
|
||||
localIP = "10.0.3.173"
|
||||
localPort = 4430
|
||||
remotePort = 443
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# frpc 基础配置
|
||||
serverAddr = "47.113.230.48"
|
||||
serverPort = 7000
|
||||
auth.method = "token"
|
||||
auth.token = "8f3c9b7d5e2a4f6h1i0j"
|
||||
|
||||
[[proxies]]
|
||||
name = "http"
|
||||
type = "tcp"
|
||||
localIP = "nginx-proxy"
|
||||
localPort = 80
|
||||
remotePort = 80
|
||||
|
||||
[[proxies]]
|
||||
name = "https"
|
||||
type = "tcp"
|
||||
localIP = "nginx-proxy"
|
||||
localPort = 8443
|
||||
remotePort = 443
|
||||
|
||||
Reference in New Issue
Block a user