migrate to new git

This commit is contained in:
2025-08-29 01:27:25 +08:00
parent 946eb9961e
commit af2c152ef6
8623 changed files with 1000453 additions and 1 deletions

21
web/sites/sites.txt Normal file
View File

@@ -0,0 +1,21 @@

# 目的
單一空間可存放多個網站
網站程式都一樣, 但各有檔案空間
網站以進入域名識別, 各自空間不能互相存取
(某些檔案夾可能放在別台主機上)
# 路徑
sites : 正常時無法存取
sites/sites-config.json(或XML) : 全主機設定檔
sites/site?.local資料夾: 依域名指向個別資料夾
(域名資料夾)
config : 相關設定檔, 不能從HTTP存取
assets : 網站基本靜態檔(影像, JS, CSS...)
modules : 個別客戶客製程式(暫訂)
upload : 個別網站的上傳路徑, (可能指向別台主機)
# 作法例:
將 https://site1.local 的upload路徑指到對應路徑
頁面中存取 https://site1.local/upload/news/123.jpg
實際路徑 ~/sites/site1.local/upload/news/123.jpg