amazon ec2 - How to redirect http to https EC2 windows instance of AWS? -


i have implemented ssl on ec2 windows instance. aws doesn't directly allow configure ssl on ec2 instance, created load balancer https , configure ssl certificate it. have selected ec2 instance load balancer.

following listeners of load balancer: load balancer listeners

after configuration, domain starts working on http , on https http://example.com , https://example.com

now, want redirect http request https. domain on godaddy. have change dns , working. when place url rewrite code in web.config file both of urls stop working. gives http error 503

this link outlines great options - https://blogs.msdn.microsoft.com/kaushal/2013/05/22/http-to-https-redirects-on-iis-7-x-and-higher/


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -