feat: Optimize HTTP to HTTPS redirection rules for non-443 port websites by moeshin · Pull Request #11761 · 1Panel-dev/1Panel

Conversation

@moeshin

What this PR does / why we need it?

当设置了非 443 的 HTTPS 端口并以 HTTP 协议请求该端口时,会被重定向到标准 HTTPS 端口 443。

Summary of your change

修改 error_page 497 规则。

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.

@f2c-ci-robot

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

[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 zhengkunwang223 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

justadri pushed a commit to justadri/1Panel that referenced this pull request

Feb 13, 2026

Labels

2 participants

@moeshin @zhengkunwang223