---
title: "保存 GitHub 更新代理配置"
method: PUT
path: "/settings/github-proxy"
tags: ["系统升级"]
---

# 保存 GitHub 更新代理配置

`PUT /settings/github-proxy`

设置检查更新 / 升级使用的 GitHub 代理前缀（如 https://ghfast.top/）。设为空字符串则直连。仅持久化，不影响其它模块的全局 HTTP 代理。

## Request body

- HandlersGithubProxySetting
  - `proxy` string

## Response `200`

保存后的配置

- HandlersGithubProxySetting
  - `proxy` string

## Other responses

- `400` — 请求格式错误
- `500` — 保存配置失败

## Changes

- **2026-07-10** `5bf58b3477c3` — 1 info
  - endpoint added
- **2026-06-26** `be19914b7eed` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/songloft-org/apis/songloft-api/changes/settings/github-proxy/put.md)

---

[API](https://skmtc.dev/songloft-org/apis/songloft-api.md) · [All operations](https://skmtc.dev/songloft-org/apis/songloft-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/songloft-org/songloft-api/revisions/5b1368253f6c/schema)
