-
-
Save LaiOrigin/b6c4ffb7861c7e010d5ccd0a232d376b to your computer and use it in GitHub Desktop.
cn.bing redirect to www.bing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "request": [ | |
| { | |
| "enable": true, | |
| "name": "bing-cn-to-www", | |
| "ruleType": "redirect", | |
| "matchType": "prefix", | |
| "pattern": "https://cn.bing.com", | |
| "exclude": "", | |
| "group": "bing-redirect", | |
| "isFunction": false, | |
| "action": "redirect", | |
| "to": "https://www.bing.com" | |
| } | |
| ], | |
| "sendHeader": [ | |
| { | |
| "enable": true, | |
| "name": "bing", | |
| "ruleType": "modifySendHeader", | |
| "matchType": "regexp", | |
| "pattern": "^http(s?)://www\\.bing\\.com/(.*)", | |
| "exclude": "", | |
| "group": "bing-direct", | |
| "isFunction": false, | |
| "action": { | |
| "name": "x-forwarded-for", | |
| "value": "8.8.8.8" | |
| } | |
| } | |
| ], | |
| "receiveHeader": [], | |
| "receiveBody": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment