From 993caaf177e2a0782eceea243d82b411b695072b Mon Sep 17 00:00:00 2001 From: itcsx Date: Tue, 12 May 2026 16:44:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20frpc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frpc | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 frpc diff --git a/frpc b/frpc new file mode 100644 index 0000000..cb7b426 --- /dev/null +++ b/frpc @@ -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" + + + \ No newline at end of file