Files
nexus/wiki/concepts/订阅机制.md

37 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 订阅机制
## Definition
通过机场提供的订阅链接,自动获取和更新代理节点列表的技术方案,无需用户手动逐个配置节点。
## Definition (English)
A technical solution where proxy clients automatically fetch and update proxy node lists via subscription links provided by service providers, eliminating the need for manual node configuration.
## How It Works
1. 用户在机场注册并购买套餐
2. 机场提供订阅链接URL格式
3. 用户将订阅链接导入代理客户端/路由器插件
4. 客户端定期如每6小时自动请求该URL
5. 服务器返回最新的节点列表通常为Base64编码
6. 客户端解析并更新本地节点配置
## Subscription Link Format
```
https://example-airport.com/api/v1/client/subscribe?token=xxxx
```
返回内容通常为Base64编码的代理配置文件。
## Auto-Update Features
- 定时自动更新(可设置间隔)
- 手动一键更新
- 更新后自动应用新配置
## Benefits
- **免手动维护**:节点变更无需重新配置
- **批量管理**:一次性导入数十个节点
- **动态更新**机场更换IP/端口后自动同步
## Related
- [[机场]] — 订阅链接的提供者
- [[MerlinClash插件]] — 支持订阅机制的代理插件
- [[科学上网]] — 订阅机制的应用场景