mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-19 20:06:07 +08:00
perf: remove "TLSv1.1", "TLSv1" for create website (#9033)
Refs https://github.com/1Panel-dev/1Panel/issues/9030
This commit is contained in:
parent
62c010ce13
commit
254a6e6dbf
4 changed files with 4 additions and 4 deletions
|
@ -469,7 +469,7 @@ func (w WebsiteService) CreateWebsite(create request.WebsiteCreate) (err error)
|
|||
WebsiteSSLID: websiteModel.ID,
|
||||
Type: "existed",
|
||||
HttpConfig: "HTTPToHTTPS",
|
||||
SSLProtocol: []string{"TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1"},
|
||||
SSLProtocol: []string{"TLSv1.3", "TLSv1.2"},
|
||||
Algorithm: "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:!aNULL:!eNULL:!EXPORT:!DSS:!DES:!RC4:!3DES:!MD5:!PSK:!KRB5:!SRP:!CAMELLIA:!SEED",
|
||||
Hsts: true,
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{ $t('terminal.addHost') }}
|
||||
</el-button>
|
||||
<el-button type="primary" plain @click="onOpenGroupDialog()">
|
||||
{{ $t('commons.table.manageGroup') }}
|
||||
{{ $t('commons.table.group') }}
|
||||
</el-button>
|
||||
<el-button type="primary" plain :disabled="selects.length === 0" @click="onBatchDelete(null)">
|
||||
{{ $t('commons.button.delete') }}
|
||||
|
|
|
@ -262,7 +262,7 @@ const buttons = [
|
|||
},
|
||||
},
|
||||
{
|
||||
label: i18n.global.t('website.proxyFile'),
|
||||
label: i18n.global.t('website.sourceFile'),
|
||||
click: function (row: HostTool.SupersivorProcess) {
|
||||
getFile(row.name, 'config', runtimeID.value);
|
||||
},
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
{{ $t('website.create') }}
|
||||
</el-button>
|
||||
<el-button type="primary" plain @click="openGroup" :disabled="nginxStatus != 'Running'">
|
||||
{{ $t('commons.table.manageGroup') }}
|
||||
{{ $t('commons.table.group') }}
|
||||
</el-button>
|
||||
<el-button type="primary" plain @click="openDefault" :disabled="nginxStatus != 'Running'">
|
||||
{{ $t('website.defaultServer') }}
|
||||
|
|
Loading…
Add table
Reference in a new issue