Skip to content

[功能建议] 服务器连接支持自定义 HTTP Header #2

Description

@JunWang666

目前添加 Codeg 服务器时,可以配置服务器地址和 Codeg Token,但无法为连接请求添加自定义 HTTP Header。
当 Codeg 服务部署在 Cloudflare Zero Trust、反向代理、API Gateway 或其他访问控制服务后面时,客户端可能需要在请求中附带额外的认证 Header,才能访问受保护的端点。
例如,使用 Cloudflare Access Service Token 时,通常需要发送:
CF-Access-Client-Id: <CLIENT_ID>
CF-Access-Client-Secret: <CLIENT_SECRET>
由于当前无法配置这些 Header,受 Cloudflare Zero Trust 保护的 Codeg 服务无法直接通过 iOS 客户端连接。

希望在添加或编辑服务器时,增加“自定义 Header”配置。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions