-
After debugging the website data with foreign servers, the backup data will be restored to the domestic server; -
Set a proxy server for WordPress on the domestic server to speed up foreign website requests.
bash <(curl -L -s https://install.direct/go.sh )
-
Port port value -
Uuid value
{ "log": { "loglevel": "warning" }, "inbound": { "listen": "127.0.0.1", "port": 8080, "protocol": "http", "settings": { "allowTransparent": false, "userLevel": 1 } }, "outbound": { "protocol": "vmess", "settings": { "vnext": [ { "Address": "168.168.168.168 here is changed to the proxy website IP", "Port": 8888 is changed to the proxy website port, "users": [ { "Id": "c503b067-e78f-b037-1ac7-7b369103ec9f here is changed to the uuid of the proxy website", "level": 1, "alterId": 64 } ] } ] } }, "outboundDetour": [ { "protocol": "freedom", "settings": {}, "tag": "direct" } ], "routing": { "strategy": "rules", "settings": { "rules": [ { "type": "field", "port": "54-79", "outboundTag": "direct" }, { "type": "field", "port": "81-442", "outboundTag": "direct" }, { "type": "field", "port": "444-65535", "outboundTag": "direct" }, { "type": "field", "domain": [ "gc.kis.scr.kaspersky-labs.com" ], "outboundTag": "direct" }, { "type": "chinasites", "outboundTag": "direct" }, { "type": "field", "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "127.0.0.0/8", "169.254.0.0/16", "172.16.0.0/12", "192.0.0.0/24", "192.0.2.0/24", "192.168.0.0/16", "198.18.0.0/15", "198.51.100.0/24", "203.0.113.0/24", "::1/128", "fc00::/7", "fe80::/10" ], "outboundTag": "direct" }, { "type": "chinaip", "outboundTag": "direct" } ] } } }
/**Agent*/ define('WP_PROXY_HOST', '127.0.0.1'); define('WP_PROXY_PORT', '8080'); define('WP_PROXY_BYPASS_HOSTS', 'localhost, *.wordpress.org');