Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1529

Redirecting http to https using nginx behind AWS load balancer

$
0
0

I've searched high and low and I feel this is the final hurdle for my project. I'm trying to redirect all http traffic to https.

Currently when typing domain.info, it redirects to https://domain.info:80 and returns ERR_SSL_PROTOCOL_ERROR

But replacing the 80 with 443 gives me my webpage just fine.

My server is behind a load balancer too, I have my certificates in the LB and none in my server. I'm using NGINX as my webserver. Basically this is my setup:

user>https>load balancer>http>server

Thanks so much in advance!!


Viewing all articles
Browse latest Browse all 1529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>