8 Commits

Author SHA1 Message Date
Hintay
f6992d8789 fix(docker): upgrade persisted bundled nginx-ui.conf safely (#1696)
* test(self_check): add fixed-default bundled nginx-ui.conf fixture

* test(self_check): add unfixed-default bundled nginx-ui.conf fixture

* test(self_check): add customized and partial-fix fixtures

* feat(self_check): add error codes for bundled nginx-ui.conf upgrade

* feat(self_check): add CheckBundledNginxUIConf

* feat(self_check): add idempotent applyBundledConfPatch

* feat(self_check): add transactional patch-on-disk with backup restore

* feat(self_check): wire FixBundledNginxUIConf with verify+reload

* feat(self_check): register bundled nginx-ui.conf WS-fix task

* test(docker): add init-config bats fixtures

* feat(docker): hash-whitelist sync for bundled nginx-ui.conf

* feat(docker): seed nginx-ui.conf known-hashes list

* chore(docker): add maintainer script for nginx-ui.conf hash list

* ci(docker): add bats + hash-consistency workflow for init-config.sh

* feat(docker): ship nginx-ui.conf known-hashes inside the image

* feat(self-check): banner button shows Fix when all failures are fixable

* docs: add docker websocket fix guide (en)

* docs: add docker websocket fix guide (zh_CN, zh_TW)

* docs: link docker-websocket-fix page in all locale sidebars

* docs(readme): link docker websocket fix guide

* docs(readme): link docker websocket fix guide (translations)

* fix(self_check): WS-fix check independent of NGINX_UI_IGNORE_DOCKER_SOCKET

* fix(docker): respect bundled nginx host mode

Keep bundled nginx-ui.conf self-checks aligned with Docker host mode and prevent config sync failures from blocking startup.

* fix(docker): tighten bundled conf review fixes

Co-authored-by: Jacky <me@jackyu.cn>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Jacky <me@jackyu.cn>
2026-05-24 09:48:19 +08:00
0xJacky
5b47ccf639 feat(geolite): add GeoLite2 database checks and download functionality in self-check tasks 2025-10-04 15:47:40 +00:00
0xJacky
30db673856 feat(self_check): add checks and fixes for conf.d directory existence 2025-08-06 11:06:12 +08:00
Jacky
63824d5724 refactor: self check 2025-04-27 15:43:18 +08:00
Jacky
7dfb6e86e6 feat(self-check): add Docker socket existence check 2025-04-22 14:14:23 +00:00
Jacky
84bfc90077 feat: add check and fix functions for Nginx conf.d directory inclusion 2025-04-11 08:38:56 +00:00
Jacky
650196d06a enhance(wip): error handle 2025-01-24 16:41:35 +08:00
Jacky
ded74bbe0a feat(wip): self check 2025-01-22 16:21:33 +08:00