Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]http网站串到https网站 #5476

Closed
clover1420 opened this issue Jun 16, 2024 · 3 comments
Closed

[BUG]http网站串到https网站 #5476

clover1420 opened this issue Jun 16, 2024 · 3 comments
Assignees

Comments

@clover1420
Copy link

联系方式

748883120@qq.com

1Panel 版本

v1.10.10-lts

问题描述

网站开启https其中一个不开,访问没开启https的网站会串到开了https的网站。

重现步骤

创建多个网站打开https其中一个网站不打开https,访问没打开https的网站。

期待的正确结果

没打开https的网站能正常访问。

相关日志输出

No response

附加信息

No response

@clover1420 clover1420 changed the title [BUG] [BUG]http网站串到https网站 Jun 16, 2024
@zhengkunwang223
Copy link
Collaborator

是不是浏览器缓存的原因?无痕模式打开看看

@clover1420
Copy link
Author

是不是浏览器缓存的原因?无痕模式打开看看

用无痕模式打开还是一样的。

@MiderWong
Copy link

测试结果

经过测试,场景没有复现,建议楼主排查域名DNS服务商的设置,比如说Cloudflare中有一个强制http转为https的设置,如下图所示:
image

测试过程

测试Ⅰ

本地自定义域名xxx.local.test,域名历史没有任何证书,本地也没申请该域名的证书,直接使用 “快速访问” 按钮,跳转的是HTTP

测试Ⅱ

1、真实域名,域名申请了通配符证书,但是没申请该二级域名证书,也没开启过https,直接使用 “快速访问” 按钮,跳转的是https,并且会提示"域名不存在",证书和提示内容如下:
证书列表
HTTPS访问提示
2、手动在浏览器把https协议改为http协议,成功访问http站点
3、上一步骤执行成功后再点击“快速访问” 按钮,成功跳转至http协议,正常访问http站点,具体效果如下:
HTTP网站列表
HTTP访问效果

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants