feat: add support for HTTP/2 Cleartext (h2c) connections

This commit is contained in:
Lemon
2026-02-04 21:40:25 +08:00
parent 8f39754812
commit 97a5c1ac1d
8 changed files with 55 additions and 49 deletions

View File

@@ -20,6 +20,10 @@ SERVER_PORT=8080
# Server mode: release or debug
SERVER_MODE=release
# Enable HTTP/2 Cleartext (h2c) for client connections
# 启用 HTTP/2 Cleartext (h2c) 客户端连接
SERVER_ENABLE_H2C=true
# 运行模式: standard (默认) 或 simple (内部自用)
# standard: 完整 SaaS 功能,包含计费/余额校验simple: 隐藏 SaaS 功能并跳过计费/余额校验
RUN_MODE=standard