Skip to content

能否支持frpc端设置ssl证书? #5

@ichat001

Description

@ichat001

能否支持frpc端设置ssl证书以供https访问? 能添加配置示例代码吗? 感谢!
下面配置文件配合官方frpc可以实现.

frpc.toml配置文件:

serverAddr = "xxx.xxx.com"
serverPort = 7000
user = "6666"
metadatas.password = "8888"

[[proxies]]
name = "tool"
type = "tcp"
localIP = "192.168.1.9"
localPort = 2345
remotePort = 12345
transport.useEncryption = true
transport.useCompression = true

[[proxies]]
name = "https-web"
type = "https"
customDomains = ["a.abc.com"]

[proxies.plugin]
type = "https2http"
localAddr = "192.168.1.9:8080"
crtPath = "./a.abc.com.crt"
keyPath = "./a.abc.com.key"
hostHeaderRewrite = "192.168.1.9" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions