添加 frpc
This commit is contained in:
commit
993caaf177
38
frpc
Normal file
38
frpc
Normal file
@ -0,0 +1,38 @@
|
||||
serverAddr = "47.120.72.155"
|
||||
serverPort = 7000
|
||||
auth.token = "www.youjiala.com"
|
||||
loginFailExit=false
|
||||
|
||||
[[proxies]]
|
||||
name = "trans" # 代理名称,自定义
|
||||
type = "http" # 改用 http 类型(核心修改)
|
||||
localIP = "127.0.0.1" # 内网 Web 服务IP(本机填127.0.0.1)
|
||||
localPort = 80 # 内网 Web 服务端口
|
||||
customDomains = ["trans.youjiala.com"] # 填阿里云公网IP(或你的域名)
|
||||
|
||||
[[proxies]]
|
||||
name = "nas" # 代理名称,自定义
|
||||
type = "https" # 改用 http 类型(核心修改)
|
||||
localIP = "127.0.0.1" # 内网 Web 服务IP(本机填127.0.0.1)
|
||||
localPort = 443 # 内网 Web 服务端口
|
||||
customDomains = ["nas.youjiala.com"] # 填阿里云公网IP(或你的域名)
|
||||
|
||||
[[proxies]]
|
||||
name = "github" # 代理名称,自定义
|
||||
type = "https" # 改用 http 类型(核心修改)
|
||||
localIP = "127.0.0.1" # 内网 Web 服务IP(本机填127.0.0.1)
|
||||
localPort = 8418 # 内网 Web 服务端口
|
||||
customDomains = ["github.youjiala.com"] # 填阿里云公网IP(或你的域名)
|
||||
|
||||
[proxies.plugin]
|
||||
type = "https2http"
|
||||
localAddr = "127.0.0.1:8418"
|
||||
|
||||
crtPath = "/vol1/1000/SSL/github.youjiala.com.pem" # 填阿里云的证书下载
|
||||
keyPath = "/vol1/1000/SSL/github.youjiala.com.key" # 填阿里云的证书下载
|
||||
|
||||
hostHeaderRewrite = "127.0.0.1"
|
||||
requestHeaders.set.x-from-where = "frp"
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user