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] After disabling SSL in the panel, HTTP should be supported without automatically redirecting to HTTPS. #7793

Closed
Zeng-qh opened this issue Feb 3, 2025 · 3 comments
Assignees

Comments

@Zeng-qh
Copy link

Zeng-qh commented Feb 3, 2025

Contact Information

Hayes_wx

1Panel Version

v1.10.23-lts

Problem Description

curl http://smp.com:8888/ubuntu

StatusCode : 200
StatusDescription : OK
Content :




<meta name="viewport" content="width=device-width, initial-scale=1,...
RawContent : HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
Date: Mon, 03 Feb 2025 00:29:15 GMT

                <!DOCTYPE html>
                <html>
                    <head>
                        <meta charset="UTF-8" />
                        <...

Forms : {}
Headers : {[Transfer-Encoding, chunked], [Content-Type, text/html; charset=utf-8], [Date, Mon, 03 Feb 2025 00:29:15 GMT]}
Images : {}
InputFields : {}
Links : {}
ParsedHtml : System.__ComObject
RawContentLength : 3449

请求网址:
http://smp.com:8888/ubuntu
请求方法:
GET
状态代码:
307 Internal Redirect
引荐来源网址政策:
strict-origin-when-cross-origin

cross-origin-resource-policy:
Cross-Origin
location:
https://smp.com:8888/ubuntu

non-authoritative-reason:
HSTS

Steps to Reproduce

打开面板中的面板 SSL 后关闭ssl ,重定向还在生效

The expected correct result

No response

Related log output

Additional Information

No response

@wanghe-fit2cloud wanghe-fit2cloud changed the title [Bug] 面板关闭ssl后支持http不要自动跳转https [Bug] After disabling SSL in the panel, HTTP should be supported without automatically redirecting to HTTPS. Feb 3, 2025
@wanghe-fit2cloud
Copy link
Member

感谢反馈,可尝试清除浏览器缓存或更换浏览器再试。

@Zeng-qh
Copy link
Author

Zeng-qh commented Feb 5, 2025

谢谢解答,确实是缓存的问题,清理缓存后可以访问

@Zeng-qh Zeng-qh closed this as completed Feb 5, 2025
@wanghe-fit2cloud
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thank you for answering, it is indeed a problem of cache. You can access it after cleaning up the cache

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