From 93f0e65cef7dd90cbfa4779270f285cbeffcd58a Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Thu, 16 Oct 2025 22:15:17 +0800 Subject: [PATCH] docs: document MANAGEMENT_STATIC_PATH for management.html location --- README.md | 2 ++ README_CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 76adadd1..32590c5d 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,8 @@ A web-based management center for CLIProxyAPI. Set `remote-management.disable-control-panel` to `true` if you prefer to host the management UI elsewhere; the server will skip downloading `management.html` and `/management.html` will return 404. +You can set the `MANAGEMENT_STATIC_PATH` environment variable to choose the directory where `management.html` is stored. + ### Authentication You can authenticate for Gemini, OpenAI, Claude, Qwen, and/or iFlow. All can coexist in the same `auth-dir` and will be load balanced. diff --git a/README_CN.md b/README_CN.md index 8699e88c..9fd1d41f 100644 --- a/README_CN.md +++ b/README_CN.md @@ -96,6 +96,8 @@ CLIProxyAPI 的基于 Web 的管理中心。 如果希望自行托管管理页面,可在配置中将 `remote-management.disable-control-panel` 设为 `true`,服务器将停止下载 `management.html`,并让 `/management.html` 返回 404。 +可以通过设置环境变量 `MANAGEMENT_STATIC_PATH` 来指定 `management.html` 的存储目录。 + ### 身份验证 您可以分别为 Gemini、OpenAI、Claude、Qwen 和 iFlow 进行身份验证,它们可同时存在于同一个 `auth-dir` 中并参与负载均衡。