From 254a6e6dbf10914c7c42d28eab290d78b308c535 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Thu, 12 Jun 2025 13:52:39 +0800 Subject: [PATCH] perf: remove "TLSv1.1", "TLSv1" for create website (#9033) Refs https://github.com/1Panel-dev/1Panel/issues/9030 --- agent/app/service/website.go | 2 +- frontend/src/views/terminal/host/index.vue | 2 +- frontend/src/views/website/runtime/php/supervisor/index.vue | 2 +- frontend/src/views/website/website/index.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/agent/app/service/website.go b/agent/app/service/website.go index 38a016c20..94e1c434a 100644 --- a/agent/app/service/website.go +++ b/agent/app/service/website.go @@ -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, } diff --git a/frontend/src/views/terminal/host/index.vue b/frontend/src/views/terminal/host/index.vue index 988b05194..671fa9fa0 100644 --- a/frontend/src/views/terminal/host/index.vue +++ b/frontend/src/views/terminal/host/index.vue @@ -6,7 +6,7 @@ {{ $t('terminal.addHost') }} - {{ $t('commons.table.manageGroup') }} + {{ $t('commons.table.group') }} {{ $t('commons.button.delete') }} diff --git a/frontend/src/views/website/runtime/php/supervisor/index.vue b/frontend/src/views/website/runtime/php/supervisor/index.vue index ac3cbc517..ec4781dc3 100644 --- a/frontend/src/views/website/runtime/php/supervisor/index.vue +++ b/frontend/src/views/website/runtime/php/supervisor/index.vue @@ -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); }, diff --git a/frontend/src/views/website/website/index.vue b/frontend/src/views/website/website/index.vue index a503d394c..cae67d146 100644 --- a/frontend/src/views/website/website/index.vue +++ b/frontend/src/views/website/website/index.vue @@ -23,7 +23,7 @@ {{ $t('website.create') }} - {{ $t('commons.table.manageGroup') }} + {{ $t('commons.table.group') }} {{ $t('website.defaultServer') }}