perf: remove "TLSv1.1", "TLSv1" for create website (#9033)

Refs https://github.com/1Panel-dev/1Panel/issues/9030
This commit is contained in:
CityFun 2025-06-12 13:52:39 +08:00 committed by GitHub
parent 62c010ce13
commit 254a6e6dbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -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,
}

View file

@ -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') }}

View file

@ -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);
},

View file

@ -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') }}