Fix proxy-provider bypass: use ?provider=1 param instead of custom header
Custom header X-Proxy-Provider is not sent by ClashMi and other clients that don't support header: in proxy-providers. URL query param works in all clients universally. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
b846756a6d
commit
482749c966
@@ -53,12 +53,9 @@ dns:
|
||||
proxy-providers:
|
||||
sub:
|
||||
type: http
|
||||
url: https://${DOMAIN}/${SUB_PATH}/${SUB_ID}
|
||||
url: https://${DOMAIN}/${SUB_PATH}/${SUB_ID}?provider=1
|
||||
path: ./proxy_providers/base64.yml
|
||||
interval: 3600
|
||||
header:
|
||||
X-Proxy-Provider:
|
||||
- "true"
|
||||
health-check:
|
||||
enable: true
|
||||
url: https://www.gstatic.com/generate_204
|
||||
|
||||
Reference in New Issue
Block a user