feat:添加frpc tls设置
This commit is contained in:
parent
10500de09f
commit
90798520ab
|
|
@ -13,4 +13,11 @@ additionalProperties:
|
|||
labelEn: Port (determined by the configuration file)
|
||||
labelZh: 端口 (由配置文件决定)
|
||||
required: true
|
||||
type: number
|
||||
type: number
|
||||
- default: ./data/ssl
|
||||
edit: true
|
||||
envKey: SSL_FOLDER_PATH
|
||||
labelEn: Certificate folder path (corresponding to "/etc/frp/ssl" in container)
|
||||
labelZh: 证书文件夹路径 (对应容器内 "/etc/frp/ssl")
|
||||
required: true
|
||||
type: text
|
||||
|
|
|
|||
|
|
@ -22,6 +22,11 @@ transport.tls.enable = false
|
|||
# transport.tls.trustedCaFile = "ca.crt"
|
||||
# transport.tls.serverName = "example.com"
|
||||
|
||||
# tls
|
||||
#transport.tls.certFile = "/etc/frp/ssl/client.crt"
|
||||
#transport.tls.keyFile = "/etc/frp/ssl/client.key"
|
||||
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"
|
||||
|
||||
[[proxies]]
|
||||
name = "rdp_tcp"
|
||||
type = "tcp"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ services:
|
|||
volumes:
|
||||
#- "${CONFIG_FILE_PATH}:/etc/frp/frpc.ini" #截止5.1.3版本使用ini
|
||||
- "${CONFIG_FILE_PATH}:/etc/frp/frpc.toml"
|
||||
- "${SSL_FOLDER_PATH}:/etc/frp/ssl"
|
||||
image: "snowdreamtech/frpc:0.56.0"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
|
|
|||
|
|
@ -13,4 +13,11 @@ additionalProperties:
|
|||
labelEn: Port (determined by the configuration file)
|
||||
labelZh: 端口 (由配置文件决定)
|
||||
required: true
|
||||
type: number
|
||||
type: number
|
||||
- default: ./data/ssl
|
||||
edit: true
|
||||
envKey: SSL_FOLDER_PATH
|
||||
labelEn: Certificate folder path (corresponding to "/etc/frp/ssl" in container)
|
||||
labelZh: 证书文件夹路径 (对应容器内 "/etc/frp/ssl")
|
||||
required: true
|
||||
type: text
|
||||
|
|
|
|||
|
|
@ -22,6 +22,11 @@ transport.tls.enable = false
|
|||
# transport.tls.trustedCaFile = "ca.crt"
|
||||
# transport.tls.serverName = "example.com"
|
||||
|
||||
# tls
|
||||
#transport.tls.certFile = "/etc/frp/ssl/client.crt"
|
||||
#transport.tls.keyFile = "/etc/frp/ssl/client.key"
|
||||
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"
|
||||
|
||||
[[proxies]]
|
||||
name = "rdp_tcp"
|
||||
type = "tcp"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ services:
|
|||
volumes:
|
||||
#- "${CONFIG_FILE_PATH}:/etc/frp/frpc.ini" #截止5.1.3版本使用ini
|
||||
- "${CONFIG_FILE_PATH}:/etc/frp/frpc.toml"
|
||||
- "${SSL_FOLDER_PATH}:/etc/frp/ssl"
|
||||
image: "snowdreamtech/frpc:latest"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
|
|
|||
Loading…
Reference in New Issue