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

面板开启ssl后支持 http自动跳转https #6375

Open
QYG2297248353 opened this issue Sep 5, 2024 · 3 comments
Open

面板开启ssl后支持 http自动跳转https #6375

QYG2297248353 opened this issue Sep 5, 2024 · 3 comments
Assignees

Comments

@QYG2297248353
Copy link

1Panel 版本

v1.10.14-lts

请描述您的需求或者改进建议

面板启用 SSL 后,原有访问页面就会出现
Client sent an HTTP request to an HTTPS server.

有时候光输入 ip+端口 不会自动跳转 https
需要完整输入 https:// + ip + 端口

太麻烦了

请描述你建议的实现方案

面板开启 SSL 使用 http 访问 自动跳转 https

附加信息

No response

@wanghe-fit2cloud
Copy link
Member

感谢反馈。我们先调研一下实现方案。
当前版本,你可以将 1Panel 添加为反向代理网站,在网站设置页面启用 HTTPS,如图:
image

@QYG2297248353
Copy link
Author

感谢反馈。我们先调研一下实现方案。 当前版本,你可以将 1Panel 添加为反向代理网站,在网站设置页面启用 HTTPS。

我等等看吧,反向代理太多了,网站有的时候莫名其妙全部都跳同一个站点,日志打开就卡住,浏览器就无响应。我也是无解。每次只能清除反代缓存 才能好。。。。

@QYG2297248353
Copy link
Author

主要担心到时候面板进不去,就麻烦了

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

2 participants