|
|
|
@ -90,6 +90,11 @@ address=/mtalk.google.com/108.177.125.188
|
|
|
|
|
# SSID 策略根据网络环境的不同指向服务器。
|
|
|
|
|
;ssid=policy-name-4, Sample-A, Sample-B, LINK_22E171:Sample-B, LINK_22E172:Sample-C
|
|
|
|
|
|
|
|
|
|
# resource-tag-regex 及 server-tag-regex 仅适用于 static、available 和 round-robin 类型的策略。
|
|
|
|
|
;static=policy-name-5, resource-tag-regex=^sample, server-tag-regex=^example, img-url=http://example.com/icon.png
|
|
|
|
|
;available=policy-name-6, resource-tag-regex=^sample, server-tag-regex=^example
|
|
|
|
|
;round-robin=policy-name-7, resource-tag-regex=^sample, server-tag-regex=^example
|
|
|
|
|
|
|
|
|
|
static=Final, proxy, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png
|
|
|
|
|
static=Streaming, proxy, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Streaming.png
|
|
|
|
|
static=StreamingSE, direct, proxy, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/StreamingSE.png
|
|
|
|
@ -170,6 +175,7 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrit
|
|
|
|
|
# chacha20-ietf-poly1305 和 chacha20-poly1305 在 VMess 配置中具有相同的效果。
|
|
|
|
|
#
|
|
|
|
|
# 可选字段 tls13 仅用于:shadowsocks obfs=wss / vmess obfs=over-tls and obfs=wss / http over-tls=true / trojan over-tls=true
|
|
|
|
|
# [server_local] 完整示例请查看「示例」
|
|
|
|
|
|
|
|
|
|
[filter_local]
|
|
|
|
|
# Local Area Network 局域网
|
|
|
|
@ -186,8 +192,30 @@ ip-cidr, 224.0.0.0/24, direct
|
|
|
|
|
final, Final
|
|
|
|
|
|
|
|
|
|
[rewrite_local]
|
|
|
|
|
# [rewrite_local] 完整示例请查看「示例」
|
|
|
|
|
|
|
|
|
|
[task_local]
|
|
|
|
|
#
|
|
|
|
|
# $task.fetch() 组成一个 HTTP 请求并处理响应,只支持 text body。如果您想要 serial requests 而不是 current requests,可以将 $task.fetch() 嵌入到另一个 $task.fetch() 的完成处理程序中。
|
|
|
|
|
#
|
|
|
|
|
# 脚本应保存在本地「我的 iPhone - Quantumult X - Scripts」或「iCloud Drive - Quantumult X - Scripts」中。示例:https://github.com/crossutility/Quantumult-X/blob/master/sample-task.js
|
|
|
|
|
#
|
|
|
|
|
# 默认的 HTTP 请求超时是 10 秒。
|
|
|
|
|
#
|
|
|
|
|
# 支持 5 或 6 个 cron 字段,不包括命令字段。
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# [task_local] 完整示例请查看「示例」
|
|
|
|
|
|
|
|
|
|
[http_backend]
|
|
|
|
|
#
|
|
|
|
|
# 部署一个本地 HTTP 服务器,并使用 JavaScript 进行数据处理。
|
|
|
|
|
# 输入变量为:$reqeust.url、$reqeust.path、$reqeust.headers、$reqeust.body。
|
|
|
|
|
# 使用 $done 输出像 $done({status:"HTTP/1.1 200 OK"}, headers:{}, body:"here is a string") 这样的返回响应。
|
|
|
|
|
# 此外,您还可以使用签名或任何其他验证方法来验证请求是否合法。
|
|
|
|
|
# 部署后您应该通过 http://127.0.0.1:9999/your-path/your-api/. 进行访问。服务器默认监听端口为 9999,您可以在UI中进行更改。
|
|
|
|
|
#
|
|
|
|
|
# [http_backend] 完整示例请查看「示例」
|
|
|
|
|
|
|
|
|
|
[mitm]
|
|
|
|
|
#
|
|
|
|
|