CH-J Tools透過 SSH 管理伺服器
選單
已發布的原始碼

CH-J Tools

瀏覽特定應用程式版本的目錄與檔案。

下載原始碼 ZIP
CH-J / Server Manager 1704 個檔案
0.1.2-beta 新增時間: · 建置時間:
apache.ts 新增時間: 未記錄日期 1.4 KB · 28 行
程式碼 下載檔案
1/** Apache HTTP Server (`apache.read`, `apache.manage`). */
2import { call } from "../transport";
3import type { Payload } from "../types";
5const command = (name: string, action: string) => (sessionId: string, payload: Payload = {}) => call<Payload>(`module_apache_${name}`, `plugin:apache:${action}`, { ...payload, sessionId });
7export const apache = Object.freeze({
8 inspect: (sessionId: string) => call<Payload>("module_apache_inspect", "plugin:apache:inspect", { sessionId }),
9 inventory: command("inventory", "inventory"),
10 readLog: command("read_log", "readLog"),
11 probeBackends: command("probe_backends", "probeBackends"),
12 readFile: command("read_file", "readFile"),
13 backups: command("backups", "backups"),
14 readBackup: command("read_backup", "readBackup"),
15 planSite: command("plan_site", "planSite"),
16 planEdit: command("plan_edit", "planEdit"),
17 planFix: command("plan_fix", "planFix"),
18 saveFile: command("save_file", "saveFile"),
19 restoreBackup: command("restore_backup", "restoreBackup"),
20 createSite: command("create_site", "createSite"),
21 setSiteEnabled: command("set_site_enabled", "setSiteEnabled"),
22 adoptSite: command("adopt_site", "adoptSite"),
23 dropBrokenLink: command("drop_broken_link", "dropBrokenLink"),
24 setModule: command("set_module", "setModule"),
25 reload: command("reload", "reload"),
26 installCertbot: command("install_certbot", "installCertbot"),
27 issueCertificate: command("issue_certificate", "issueCertificate")
28});
SHA-25645723fa5b1a8202197512d00acdad403159aee70d0dcc3455cc7d34b64bb447c

CH-J Proprietary Software License 1.14 · 原始碼依 CH-J Proprietary Software License 1.14 提供。公開原始碼不會改變授權條款,也不會授予額外的權利。

壓縮檔 SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
檔案