From ac362b8dd18807ff7185a26de8ac860ad9de115c Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Sun, 3 Dec 2023 20:43:22 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d419140..4901f65 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,11 @@ settings: domain: www.example.com ttl: 600 provider: "cloudflare" - config: #需要根据 provider 类型配置字段名,见 DDNS 说明 + config: #这段配置是动态的,需要根据 provider 类型配置字段名,见 DDNS 说明 zone: "xxxx" token: "xxxx" + custom_header: #这段配置是动态的,用于设置请求头,可以自由填写 + User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0 ``` 登录参数从原网页登陆时对 `/srun_portal` 的请求抓取,抓取时请把浏览器控制台的 `preserve log`(保留日志)启用。 @@ -103,7 +105,7 @@ settings: 镜像:`mmx233/bitsrunlogin-go:latest` -支持 linux/amd64、linux/386、linux/arm64、linux/arm/v7 架构 +支持 linux/amd64、linux/386、linux/arm64、linux/arm/v7 架构,在集群中使用时建议使用固定 tag 而不是 latest 以锁定版本 直接使用: