mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
perf: 部署到1panel面板支持mux模式
This commit is contained in:
@@ -58,6 +58,22 @@ export class OnePanelDeployToPanelPlugin extends AbstractTaskPlugin {
|
|||||||
)
|
)
|
||||||
currentNode!: string;
|
currentNode!: string;
|
||||||
|
|
||||||
|
@TaskInput({
|
||||||
|
title: "SSL模式",
|
||||||
|
helper: "SSL模式,只有2.1.x以上版本才支持,旧版本保持默认即可",
|
||||||
|
component: {
|
||||||
|
name: "a-select",
|
||||||
|
options: [
|
||||||
|
{ label: "启用SSL(旧版本)", value: "enable" },
|
||||||
|
{ label: "Strict模式(>=2.1.x)", value: "Enable" },
|
||||||
|
{ label: "Mux模式(>=2.1.x)", value: "Mux" }
|
||||||
|
],
|
||||||
|
value: "enable",
|
||||||
|
},
|
||||||
|
required: true,
|
||||||
|
})
|
||||||
|
sslMode!: string;
|
||||||
|
|
||||||
|
|
||||||
access: OnePanelAccess;
|
access: OnePanelAccess;
|
||||||
async onInstance() {
|
async onInstance() {
|
||||||
@@ -102,7 +118,7 @@ export class OnePanelDeployToPanelPlugin extends AbstractTaskPlugin {
|
|||||||
cert: this.cert.crt,
|
cert: this.cert.crt,
|
||||||
key: this.cert.key,
|
key: this.cert.key,
|
||||||
domain: domain,
|
domain: domain,
|
||||||
ssl: "Enable",
|
ssl: this.sslMode,
|
||||||
sslID: null,
|
sslID: null,
|
||||||
sslType: "import-paste",
|
sslType: "import-paste",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user