Subscription script URL
1. Requirements for URL format and content
Requirements for URL format
- For files uploaded to the github library, the subscription address URL must start with
http://raw
- For files uploaded to the github library, the subscription address URL must start with
Requirements for URL content
Must contain one or more script statements
You can write statements with
hostname =
2. URL content demonstration
http-request ^https?:\/\/(www.)?(example)\.com script-path=localscript.js,tag = requestScript,enable=true
http-response ^https?:\/\/(www.)?(example)\.com script-path=https://example.com/loon.js,timeout=10,requires-body = true,tag = responseScript,enable=true
cron "0 8 * * *" script-path=cron.js,tag = responseScript,enable=true
hostname = example1.com,example2.com
Three. URL example file demonstration
https://raw.githubusercontent.com/chiupam/Proxy/master/Loon/Remote_Script_Example.conf