frp
frp copied to clipboard
unmarshal ProxyConfig error: json: unknown field "customDomains"
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
- run
/usr/bin/frpc -c /etc/frp/frpc.toml
with the abovefrpc.toml
file
Affected area
- [ ] Docs
- [ ] Installation
- [ ] Performance and Scalability
- [ ] Security
- [X] User Experience
- [ ] Test and Release
- [ ] Developer Infrastructure
- [X] Client Plugin
- [ ] Server Plugin
- [ ] Extensions
- [ ] Others