@@ -86,13 +86,15 @@ const settingsHelpZhCN: SettingsHelpMap = {
8686 summary : '控制 WebUI 服务绑定在哪个网络地址上。' ,
8787 usage : '本机访问通常使用 127.0.0.1;云服务器、Docker 或需要外部访问时通常使用 0.0.0.0。' ,
8888 valueNotes : [
89- '.env 里的 WEBUI_HOST 优先级高于命令行 --host 参数。' ,
89+ '.env 里的 WEBUI_HOST 在进程启动读取时优先级高于命令行 --host 参数。' ,
90+ '在设置页保存后,只会写入 .env 并重载运行时配置对象,不会让当前 WebUI/API 进程重新绑定监听地址。' ,
9091 'Docker Compose 中通常会在容器内使用 0.0.0.0,宿主机访问还取决于端口映射。' ,
9192 ] ,
9293 impact : [
93- '影响浏览器能否从本机 、局域网或公网访问 WebUI。' ,
94+ '影响重启后浏览器能否从本机 、局域网或公网访问 WebUI。' ,
9495 ] ,
9596 notes : [
97+ '修改 WEBUI_HOST 后需要重启当前进程、Docker 容器或服务管理器才会生效。' ,
9698 '直连公网时建议同时启用 ADMIN_AUTH_ENABLED。' ,
9799 '如果部署在反向代理后面,登录限流与真实 IP 识别还需要评估 TRUST_X_FORWARDED_FOR。' ,
98100 ] ,
@@ -162,11 +164,13 @@ const settingsHelpEnUS: SettingsHelpMap = {
162164 summary : 'Controls the network address the WebUI service binds to.' ,
163165 usage : 'Use 127.0.0.1 for local-only access. Use 0.0.0.0 for cloud, Docker, or external access.' ,
164166 valueNotes : [
165- 'WEBUI_HOST in .env has higher priority than the --host command-line argument.' ,
167+ 'WEBUI_HOST in .env has higher priority than the --host command-line argument when the process starts.' ,
168+ 'Saving it from the settings page writes .env and reloads runtime config objects, but the running WebUI/API process will not rebind its host.' ,
166169 'Docker Compose commonly binds 0.0.0.0 inside the container; host access also depends on port mapping.' ,
167170 ] ,
168- impact : [ 'Affects whether the WebUI can be reached locally, on the LAN, or from the public internet.' ] ,
171+ impact : [ 'Affects whether the WebUI can be reached locally, on the LAN, or from the public internet after restart .' ] ,
169172 notes : [
173+ 'Restart the process, Docker container, or service manager after changing WEBUI_HOST.' ,
170174 'Enable ADMIN_AUTH_ENABLED when exposing the service publicly.' ,
171175 'Behind a reverse proxy, also evaluate TRUST_X_FORWARDED_FOR for login rate limiting and real IP detection.' ,
172176 ] ,
0 commit comments