I have configured web server front ending with AWS ELB and CloudFront. I have deployed SSL certificate on load balancer (ELB) for HTTPS connection.
We have set up 2 listener protocols:
- Source -> 80 -> ELB -> 80 -> EC2 web server
- Source -> 443 -> ELB -> 80 -> EC2 web server
The following blog post describes the entire setup in detail: http://www.cloudometry.in/2015/04/dns-entry-confusion-for-aws-elb-backed.html
The issue is that we are able to open dummy test index.html file but when I try to open our application index.php, everything falls apart and browser keeps on refreshing.
I have noticed following log in web server's access log
[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)"
Has anyone faced this issue? Am I missing any configuration?