【发布时间】:2014-12-09 04:18:37
【问题描述】:
我想为我的 CakePHP 应用程序使用 https。
我发现一些文章解释了如何在 CakePHP 中强制 https (http://blog.andolasoft.com/2013/07/ssl-authentication-using-security-component-in-cakephp.html)
但问题是我使用的是负载均衡器 (AWS),所以如果我使用重定向(重定向循环),我就会遇到问题。
有人有这个问题的经验吗?
如何在 CakePHP 中强制 https 而不从 http 重定向?
非常感谢。
【问题讨论】:
-
可能是服务器设置,而不是蛋糕。
-
"aws 负载均衡器强制 https" - first result from Google