HEADER_INJECT
如何解决订阅转换被白嫖?
#这段加nginx配置文件
location /convert {
if ($request_uri ~* "/convert") {
return 403;
}
}

location /qx-script {
if ($request_uri ~* "/qx-script") {
return 403;
}
}

#这段加反向代理配置文件
if ($request_uri ~* "script:cache") {
rewrite ^ https://www.gov.cn/? permanent;
}

#或者换成其他的 比如 原神 启动
if ($request_uri ~* "script:cache") {
rewrite ^ https://www.mihoyo.com/? permanent;
}


记得开启api mode true
强密码 以及关闭缓存

如果你想反诈中心 https://github.com/wangdaye078/AntiZhaPian
https://jimmywg2513.github.io/sl777.github.io/
这里也有模板

当别人访问 https://你的api域名/sub?target=clash&url=script:cache/md5,1&token=password
自动跳转 你所设定的页面
 
 
Back to Top FOOTER_INJECT