Subscription Settings

Subscription Settings

Subscription settings determine responses based on user-agent patterns, prioritize specific v2rayN and v2rayNG versions, and include profile title, update interval, and support link options.

Subscription Rules

Subscription rules determine how the subscription endpoint would correspond to different user-agents; each rule consists of a regex pattern to be matched on the user-agent and the result to be returned. rules are tried from top to bottom respectively until one matches the request. in case none of the rules match, the response would be empty.

The rules in the picture are the default values right now. First rule for v2rayN matches versions higher than 6.40, and returns Xray custom config. Older versions fall in the next rule; the first rule for v2rayNG matches 1.8.16+ and returns Xray custom config, otherwise the next rule returns base64-links.

Further Settings

If Template on Acceptance is set to true, the subscription endpoint would return the html template in case Accept: text/html is in request headers.