mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-09 23:17:21 +08:00
fix: fix issue with change ssl_protocols failed (#8985)
Refs https://github.com/1Panel-dev/1Panel/issues/8981
This commit is contained in:
parent
81caf126f7
commit
e9257735ba
10 changed files with 11 additions and 12 deletions
|
@ -761,7 +761,7 @@ func applySSL(website *model.Website, websiteSSL model.WebsiteSSL, req request.W
|
|||
if param.Name == "ssl_protocols" {
|
||||
nginxParams[i].Params = req.SSLProtocol
|
||||
if len(req.SSLProtocol) == 0 {
|
||||
nginxParams[i].Params = []string{"TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1"}
|
||||
nginxParams[i].Params = []string{"TLSv1.3", "TLSv1.2"}
|
||||
}
|
||||
}
|
||||
if param.Name == "ssl_ciphers" {
|
||||
|
|
|
@ -3384,7 +3384,7 @@ const message = {
|
|||
|
||||
panelExist:
|
||||
'1Panel V1 service is running on this node. Please upgrade to V2 using the migration script before adding.',
|
||||
coreExist: 'This node already has 1Panel V2 service deployed and cannot be added as a secondary node.',
|
||||
coreExist: 'This node has already been enabled as the main node and cannot be added as a slave node.',
|
||||
agentExist:
|
||||
'1panel-agent is already installed on this node. Continuing will preserve existing data and only replace the 1panel-agent service. Proceed?',
|
||||
dataExist: '1Panel historical data exists on this node. Confirm to continue adding?',
|
||||
|
|
|
@ -3240,7 +3240,7 @@ const message = {
|
|||
|
||||
panelExist:
|
||||
'このノードで1Panel V1サービスが実行中です。追加する前に移行スクリプトでV2にアップグレードしてください。',
|
||||
coreExist: 'このノードには1Panel V2サービスがデプロイ済みのため、セカンダリノードとして追加できません。',
|
||||
coreExist: 'このノードは既にメインノードとして有効になっており、スレーブノードとして追加できません。',
|
||||
agentExist:
|
||||
'このノードには1panel-agentがインストール済みです。続行すると既存データは保持され、1panel-agentサービスのみ置き換えられます。続行しますか?',
|
||||
dataExist: 'このノードに1Panelの過去データが存在します。追加を続行しますか?',
|
||||
|
|
|
@ -3184,7 +3184,7 @@ const message = {
|
|||
|
||||
panelExist:
|
||||
'이 노드에서 1Panel V1 서비스가 실행 중입니다. 추가하기 전에 마이그레이션 스크립트로 V2로 업그레이드하세요.',
|
||||
coreExist: '이 노드에는 이미 1Panel V2 서비스가 배포되어 있어 보조 노드로 추가할 수 없습니다.',
|
||||
coreExist: '이 노드는 이미 메인 노드로 활성화되어 있어 슬레이브 노드로 추가할 수 없습니다.',
|
||||
agentExist:
|
||||
'이 노드에 1panel-agent가 이미 설치되어 있습니다. 계속하면 기존 데이터는 유지되고 1panel-agent 서비스만 교체됩니다. 계속하시겠습니까?',
|
||||
dataExist: '이 노드에 1Panel 이전 데이터가 존재합니다. 추가를 계속하시겠습니까?',
|
||||
|
|
|
@ -3311,8 +3311,7 @@ const message = {
|
|||
|
||||
panelExist:
|
||||
'Mengesan perkhidmatan 1Panel V1 sedang berjalan pada nod ini. Sila naik taraf ke V2 menggunakan skrip migrasi sebelum menambah.',
|
||||
coreExist:
|
||||
'Nod ini telah mempunyai perkhidmatan 1Panel V2 dipasang, tidak boleh ditambah sebagai nod sekunder.',
|
||||
coreExist: 'Node ini telah diaktifkan sebagai nod utama dan tidak boleh ditambah sebagai nod hamba.',
|
||||
agentExist:
|
||||
'Mengesan 1panel-agent telah dipasang pada nod ini. Jika diteruskan, data sedia ada akan dikekalkan dan hanya perkhidmatan 1panel-agent akan diganti. Teruskan?',
|
||||
dataExist: 'Mengesan data sejarah 1Panel wujud pada nod ini. Sahkan untuk terus menambah?',
|
||||
|
|
|
@ -3318,7 +3318,7 @@ const message = {
|
|||
|
||||
panelExist:
|
||||
'O serviço 1Panel V1 está em execução neste nó. Atualize para V2 usando o script de migração antes de adicionar.',
|
||||
coreExist: 'Este nó já tem o serviço 1Panel V2 implantado e não pode ser adicionado como nó secundário.',
|
||||
coreExist: 'Este nó já foi ativado como nó principal e não pode ser adicionado como um nó escravo.',
|
||||
agentExist:
|
||||
'1panel-agent já está instalado neste nó. Continuar preservará os dados existentes e substituirá apenas o serviço 1panel-agent. Prosseguir?',
|
||||
dataExist: 'Existem dados históricos do 1Panel neste nó. Confirmar para continuar a adição?',
|
||||
|
|
|
@ -3305,7 +3305,7 @@ const message = {
|
|||
|
||||
panelExist:
|
||||
'На этом узле запущена служба 1Panel V1. Перед добавлением обновитесь до V2 с помощью скрипта миграции.',
|
||||
coreExist: 'На этом узле уже развернута служба 1Panel V2, поэтому его нельзя добавить как вторичный узел.',
|
||||
coreExist: 'Этот узел уже активирован как основной узел и не может быть добавлен как подчиненный узел.',
|
||||
agentExist:
|
||||
'1panel-agent уже установлен на этом узле. Продолжение сохранит существующие данные и заменит только службу 1panel-agent. Продолжить?',
|
||||
dataExist: 'На этом узле есть исторические данные 1Panel. Подтвердить продолжение добавления?',
|
||||
|
|
|
@ -3130,7 +3130,7 @@ const message = {
|
|||
nodeSyncHelper2: '2. 主節點與子節點的連接信息',
|
||||
|
||||
panelExist: '檢測到該節點正在運行 1Panel V1 服務,請先透過遷移腳本升級至 V2 後再進行新增。',
|
||||
coreExist: '該節點已部署 1Panel V2 服務,無法作為從屬節點新增。',
|
||||
coreExist: '該節點已作為主節點啟用,無法作為從節點添加。',
|
||||
agentExist: '檢測到該節點已安裝 1panel-agent,繼續新增將保留現有數據,僅替換 1panel-agent 服務,是否繼續?',
|
||||
dataExist: '檢測到該節點存在 1Panel 歷史數據,是否確認繼續新增?',
|
||||
errLicense: '檢測到該節點綁定的許可證不可用,請檢查後重試!',
|
||||
|
|
|
@ -3100,7 +3100,7 @@ const message = {
|
|||
nodeSyncHelper1: '1. 公用的备份账号信息',
|
||||
nodeSyncHelper2: '2. 主节点与子节点的连接信息',
|
||||
panelExist: '检测到该节点正在运行 1Panel V1 服务,请先通过迁移脚本升级至 V2 后再进行添加。',
|
||||
coreExist: '该节点已部署 1Panel V2 服务,无法作为从节点添加。',
|
||||
coreExist: '该节点已作为主节点启用,无法作为从节点添加。',
|
||||
agentExist: '检测到该节点已安装 1panel-agent,继续添加将保留现有数据,仅替换 1panel-agent 服务,是否继续?',
|
||||
dataExist: '检测到该节点存在 1Panel 历史数据,是否确认继续添加?',
|
||||
errLicense: '检测到该节点绑定的许可证不可用,请检查后重试!',
|
||||
|
|
|
@ -144,10 +144,10 @@
|
|||
<el-checkbox :value="'TLSv1.3'">{{ 'TLS 1.3' }}</el-checkbox>
|
||||
<el-checkbox :value="'TLSv1.2'">{{ 'TLS 1.2' }}</el-checkbox>
|
||||
<el-checkbox :value="'TLSv1.1'">
|
||||
{{ 'TLS 1.0' + $t('website.notSecurity') }}
|
||||
{{ 'TLS 1.1' + $t('website.notSecurity') }}
|
||||
</el-checkbox>
|
||||
<el-checkbox :value="'TLSv1'">
|
||||
{{ 'TLS 1.1' + $t('website.notSecurity') }}
|
||||
{{ 'TLS 1.0' + $t('website.notSecurity') }}
|
||||
</el-checkbox>
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
|
|
Loading…
Add table
Reference in a new issue