ELB HTTPS doesn’t work

I have 2 webservers(ec2 instance) in cluster and one load balancer with ssl_certification.I want to deploy wordpress service(LAMP) in webservers.
These are my configurations:
1-ELB:

listener:
Load Balancer Port:443
Instance Port:80

security group:
port range:443

2-Webserver:

security group:
port range:80
source:elb security group.

3-/etc/apache2/sites-available/example.com.conf

 </Directory>
 <VirtualHost *:80>
          ServerName ${instance_address}
          ServerAlias www.${instance_address}
          ServerAdmin webmaster@localhost
          DocumentRoot /var/www/html/${instance_address}/public_html
   
          ErrorLog /var/www/html/${instance_address}/logs/error.log
          CustomLog /var/www/html/${instance_address}/logs/access.log combined
   
</VirtualHost>

my ELB(with HTTPS) doesn’t work or so slow.
I have to change and edit the file: /etc/apache2/sites-available/example.com.conf

Read more here: ELB HTTPS doesn’t work

Leave a Reply

Your email address will not be published. Required fields are marked *