Skip to content

Conversation

@HynoR
Copy link
Contributor

@HynoR HynoR commented Dec 29, 2025

  • Introduced a new SSL mode "Mux" in the settings, allowing for HTTP to HTTPS redirection.
  • Updated the SSL field in the SettingUpdate struct to include "Mux" as a valid option.
  • Modified the server logic to handle Mux connections, including certificate management and HTTP redirection.
  • Updated frontend components to reflect the new SSL options and improved user guidance in multiple languages.

What this PR does / why we need it?

支持 Mux 方式监听端口,允许面板启用 ssl 的情况下支持 http 流量传入,然后将 http重定向到 https

Summary of your change

引入和使用一个新的依赖cmux 来分流流量 https://github.com/soheilhy/cmux
前端适配设置
Strict 为原来的方案, Mux 为新方案

image

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

- Introduced a new SSL mode "Mux" in the settings, allowing for HTTP to HTTPS redirection.
- Updated the `SSL` field in the `SettingUpdate` struct to include "Mux" as a valid option.
- Modified the server logic to handle Mux connections, including certificate management and HTTP redirection.
- Updated frontend components to reflect the new SSL options and improved user guidance in multiple languages.
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Dec 29, 2025

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Dec 29, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign ssongliu for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@HynoR HynoR marked this pull request as ready for review December 29, 2025 06:26
@ssongliu ssongliu merged commit d302bc0 into 1Panel-dev:dev-v2 Dec 29, 2025
0 of 3 checks passed
@HynoR HynoR deleted the pr@tlstls branch December 29, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants