带有SNI + ELB的AWS cloudfront,其中443到80redirect到EC2问题

我已经configuration了AWS ELB和CloudFront的Web服务器前端。 我已经在负载平衡器(ELB)上部署了SSL证书来进行HTTPS连接。

我们build立了两个监听器协议:

  1. 来源 – > 80 – > ELB – > 80 – > EC2网页伺服器
  2. 来源 – > 443 – > ELB – > 80 – > EC2 Web服务器

以下博客文章详细介绍了整个设置: http : //www.cloudometry.in/2015/04/dns-entry-confusion-for-aws-elb-backed.html

问题是我们可以打开虚拟testingindex.html文件,但是当我尝试打开我们的应用程序index.php时,一切都崩溃了,浏览器不断刷新。

我注意到下面的loginWeb服务器的访问日志

[26/Apr/2015:17:08:21 +0000] "OPTIONS * HTTP/1.0" 200 125 "-" "Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/5.5.9-1ubuntu4.6 (internal dummy connection)" 

有没有人遇到过这个问题? 我是否缺less任何configuration?