From 80b996d10eb716a750e3acf04086f6d9c1e776d7 Mon Sep 17 00:00:00 2001 From: timmy Date: Sat, 1 Aug 2026 22:07:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20gitea.timmy.edu.kg=20?= =?UTF-8?q?=E5=8F=8D=E5=90=91=E4=BB=A3=E7=90=86=20+=20Let's=20Encrypt=20?= =?UTF-8?q?=E6=86=91=E8=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c228344..53c40bd 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,8 @@ make clean # 連 volume 一起清掉(危險) | 類型 | 數量 | |---|---| -| Proxy Host | 35(全部啟用) | -| Certificate | 39(全為 Let's Encrypt) | +| Proxy Host | 36(全部啟用) | +| Certificate | 40(全為 Let's Encrypt) | | Dead Host | 2(`*.lotimmy.com`、`125.229.110.50`) | | Access List | 1(`Protect PACS`) | | Redirection Host / Stream | 0 | @@ -74,6 +74,7 @@ make clean # 連 volume 一起清掉(危險) | codimd.lotimmy.com | http://192.168.42.120:30921 | 強制 | h2 | | dicom-server.lotimmy.com | http://192.168.42.124:60606 | SSL | block ws | | drawnix.timmy.edu.kg | http://192.168.42.124:40000 | SSL | block ws h2 | +| gitea.timmy.edu.kg | http://192.168.42.124:31337 | 強制 | block ws h2 | | headscale.lotimmy.com | http://192.168.42.126:8080 | SSL | cache block ws h2 | | hoarder.lotimmy.com | http://192.168.42.124:3000 | SSL | block ws h2 | | httpbin.lotimmy.com | http://192.168.42.120:30921 | SSL | cache block ws h2 | @@ -110,7 +111,7 @@ make clean # 連 volume 一起清掉(危險) | 後端 | 用途 | |---|---| -| `192.168.42.124`(本機) | 11 個服務:dicom-server、drawnix、hoarder、myspeed、noco、pacs、pb、picsur、prompt-opt、registry(+ui)、tinyauth ×2、NPM 自己 | +| `192.168.42.124`(本機) | 12 個服務:dicom-server、drawnix、gitea、hoarder、myspeed、noco、pacs、pb、picsur、prompt-opt、registry(+ui)、tinyauth ×2、NPM 自己 | | `192.168.42.120:30921` | 4 個網域共用(K8s NodePort):codimd、httpbin、opengist、vaultwarden | | `192.168.42.108` | poke-api、pogo-viewer、ucapi | | `192.168.42.30` / `.38` / `.20` | PBS / PVE / Synology(皆為 https 後端) | @@ -118,7 +119,7 @@ make clean # 連 volume 一起清掉(危險) ## 憑證 -39 張全部由 Let's Encrypt 簽發。以到期日排序,需要注意的是前段: +40 張全部由 Let's Encrypt 簽發。以到期日排序,需要注意的是前段: | 憑證 | 到期日 | 狀況 | |---|---|---| @@ -130,6 +131,7 @@ make clean # 連 volume 一起清掉(危險) | auth.lotimmy.com | 2026-08-20 | 無對應 proxy host | | mailpit.lotimmy.com | 2026-09-01 | 使用中 | | …其餘 34 張 | 2026-09 ~ 2026-10 | 使用中,正常續期 | +| gitea.timmy.edu.kg (npm-88) | 2026-10-30 | 2026-08-01 新簽 | 已移除的憑證(連同 `live` / `archive` / `renewal` 檔案,皆以 `certbot delete` 清除): @@ -147,5 +149,6 @@ make clean # 連 volume 一起清掉(危險) - `letsencrypt/` 底下還有一批 DB 已軟刪除、但檔案還在的舊 lineage(例如 `npm-4`,2025 年 n8n 的舊憑證)。不影響運作,佔用也小,要清再說。 - **沒有自動備份**。`data/` + `letsencrypt/` 打包丟到別台就夠,目前有 2026-04-18 與 2026-08-01 兩份手動 DB 備份。 - **watchtower 自動更新已開啟** 且 image tag 是 `latest`,NPM 大版本更新會直接套用,DB migration 失敗時沒有回退點——這是上一點更要緊的原因。 -- **單點故障**:35 個網域全靠這台,其中 11 個服務也跑在同一台上。 +- **單點故障**:36 個網域全靠這台,其中 12 個服務也跑在同一台上。 +- **Gitea 的 `ROOT_URL` 仍是 `http://192.168.42.124:31337/`**,所以 UI 顯示的 clone URL、通知信連結都還是舊的 IP:port。要改 `app.ini` 的 `[server] ROOT_URL = https://gitea.timmy.edu.kg/` 並重啟 Gitea。 - `dead_host` 有 `*.lotimmy.com` 泛用攔截,未定義的子網域會落到這裡,不會外洩到預設站台。