Hi, thanks. I used that configuration option and got it to work. In order for that to work, the Apache2 web server that runs in the EC2 instance needs to be set up to use SSL as well. Because I am using the SSL Cert from AWS ACM, it cannot be installed on the EC2 instance. The SSL cert is set up in the AWS ALB. Then a target group is set up to the EC2 instance and redirection rules are set up to direct all inbound 80 to 443 at the ALB and then sends all traffic to the EC2 instance on 443. This requires using a self-signed SSL cert on Apache2 and it solves the problem.
Edit History
Hi, thanks. I used that configuration option and got it to work. In order for that to work, the Apache2 web server that runs in the EC2 instance needs to be set up to use SSL as well. Because I am using the SSL Cert from AWS ACM, it cannot be installed on the EC2 instance. The SSL cert is set up in the AWS ALB. Then a target group is set up to the EV2 instance and redirection rules are set up to direct all inbound 80 to 443 at the ALB and then sends all traffic to the EC2 instance on 443. This requires using a self-signed SSL cert on Apache2 and it solves the problem.