We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get frpc to start with a customDomains field, always returns unmarshal ProxyConfig error: json: unknown field "customDomains"
unmarshal ProxyConfig error: json: unknown field "customDomains"
0.58.1
linux/amd64
serverAddr = "x.x.x.x" serverPort = 7000
auth.method = "token" auth.token = ""
[[proxies]] name = "ssh" type = "tcp" customDomains = ["ssh.example.com"] localIP = "127.0.0.1" localPort = 22 remotePort = 6000
includes = ["/etc/frp/frpc.d/*.toml"]
/usr/bin/frpc -c /etc/frp/frpc.toml
frpc.toml
The text was updated successfully, but these errors were encountered:
customDomains is not for type tcp.
customDomains
tcp
Sorry, something went wrong.
有点坑, local_port = 8848 ✔ localPort = 8848 ❌(官网示例是这样的,但是很坑)
No branches or pull requests
Bug Description
Can't get frpc to start with a customDomains field, always returns
unmarshal ProxyConfig error: json: unknown field "customDomains"
frpc Version
0.58.1
frps Version
0.58.1
System Architecture
linux/amd64
Configurations
frpc.toml
serverAddr = "x.x.x.x"
serverPort = 7000
auth.method = "token"
auth.token = ""
[[proxies]]
name = "ssh"
type = "tcp"
customDomains = ["ssh.example.com"]
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
includes = ["/etc/frp/frpc.d/*.toml"]
Logs
unmarshal ProxyConfig error: json: unknown field "customDomains"
Steps to reproduce
/usr/bin/frpc -c /etc/frp/frpc.toml
with the abovefrpc.toml
fileAffected area
The text was updated successfully, but these errors were encountered: