September 2016
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  

Categories

September 2016
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  

How to force HTTPS behind AWS ELB

How to force HTTPS behind AWS ELB

In the most common configurations, when running your web app behind Nginx or Apache, your https:// request will get redirected to http://. Sometimes, you may want to rewrite all HTTP requests to HTTPS.

The Amazon Elastic Load Balancer (ELB) supports a HTTP header called X-FORWARDED-PROTO. All the HTTPS […]