【问题标题】:aws load balancer http to https redirect not workingaws负载均衡器http到https重定向不起作用
【发布时间】:2021-01-27 12:01:49
【问题描述】:

enter image description here

https://boardarc.com -> 工作

http://boardarc.com -> 正在工作,不要重定向到 https

对不起。使用谷歌翻译。

https 连接是可能的。 但是,我无法连接到 http。

我查找了很多信息,但无法修复它。 有什么问题?

【问题讨论】:

  • 能不能也加一张View/edit rules的截图?只是想确保您返回HTTP_301 permenantly moved

标签: amazon-web-services aws-application-load-balancer


【解决方案1】:

重定向正常,但您使用了错误的端口。 HTTPS 是 443,而不是 433。

请将您在 ALB 中的端口更改为 443。

【讨论】:

  • 你有一双敏锐的眼睛@Marcin
  • @BaluVyamajala 这是您可能需要花费数小时调试的错误之一。我很幸运能注意到它。
猜你喜欢
  • 2015-03-18
  • 2017-02-19
  • 2020-08-21
  • 2021-04-25
  • 2023-04-01
  • 2018-02-06
  • 1970-01-01
  • 2020-08-23
  • 2017-01-07
相关资源
最近更新 更多