cloudbase-framework icon indicating copy to clipboard operation
cloudbase-framework copied to clipboard

云应用支持https跳转设置

Open shenghanqin opened this issue 4 years ago • 7 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

在内容分发网络中域名管理的 Https 设置里面有http跳转设置,可以完成从http强行301跳转到https的效果,但是在云接入中只有绑定域名,并没有强行跳转https的功能

Describe the solution you'd like A clear and concise description of what you want to happen.

期望有http强行跳转到https的功能。

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

shenghanqin avatar Jul 25 '20 08:07 shenghanqin

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.97. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jul 25 '20 08:07 issue-label-bot[bot]

@shenghanqin 直接访问 HTTPS 无法满足需求吗?有什么特别的情况可以举例说明

chhpt avatar Jul 28 '20 07:07 chhpt

@chhpt 如果同时支持http和https两种访问方式,那么用户访问http时就会被提示不安全。

shenghanqin avatar Jul 29 '20 01:07 shenghanqin

@shenghanqin 服务的访问协议不同于网页访问,是开发者可以控制的

chhpt avatar Jul 29 '20 01:07 chhpt

注意:

  1. 目前单个环境仅支持绑定一个 HTTPS 域名
  2. 绑定 HTTPS 自定义域名后,默认域名 HTTPS 将无法访问
  3. 请确定自定义的域名已配置 CNAME 解析到默认域名,可参考CNAME 解析配置

目前云接入函数不支持http强制跳转https,而且只能一个域名,后续会做更改..

juukee avatar Aug 03 '20 08:08 juukee

@binggg

juukee avatar Aug 24 '20 01:08 juukee

@binggg

shenghanqin avatar Aug 24 '20 23:08 shenghanqin