Add TLS feature with Caddy

This commit is contained in:
2026-10-21 09:13:59 +01:00
parent 1462067e72
commit ed4a6f3ec8
109 changed files with 6374 additions and 156 deletions
+12
View File
@@ -1,6 +1,7 @@
import type {
BUN_SQLITE_WGUI_ALL_TYPEDEFS,
BUN_SQLITE_WGUI_CLIENTS,
BUN_SQLITE_WGUI_CLIENT_ROUTES,
BUN_SQLITE_WGUI_CLIENT_RULES,
BUN_SQLITE_WGUI_HOSTS,
BUN_SQLITE_WGUI_MEDIA,
@@ -26,6 +27,8 @@ import type { ImageInputToBase64FunctionReturn } from "../components/twui/utils/
import type { ServerQueryParam } from "@moduletrace/bun-sqlite/types";
import type grabHostDirnames from "../functions/backend/setup/grab-host-dir-names";
import type grabSystemSetupStatus from "../functions/backend/setup/grab-system-setup-status";
import type { ClientRouteView } from "../functions/backend/acme/decorate-client-route";
import type { ClientCertificateView } from "../functions/backend/acme/decorate-certificate";
export type User = {
id: number;
@@ -57,6 +60,15 @@ export type PagePropsType = {
client?: BUN_SQLITE_WGUI_CLIENTS_JOIN | null;
clients?: BUN_SQLITE_WGUI_CLIENTS_JOIN[] | null;
client_rules?: BUN_SQLITE_WGUI_CLIENT_RULES[] | null;
client_route?: ClientRouteView | null;
client_certificate?: ClientCertificateView | null;
client_challenge?: {
txt_name: string;
txt_value: string;
hostname?: string;
staging?: boolean;
} | null;
route_certificates?: ClientCertificateView[] | null;
client_config?: string | null;
client_config_path?: string | null;
client_qr_data_uri?: string | null;