title: How to redirect http to https for a reactJs SPA behind AWS Elb?
body: <p>I chose to use express server for deployment as pointed to in <a href="https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment" rel="noreferrer">deployment</a> section of create-react-app user guide. The express server is set up on an EC2 instance and is fronted by an AWS Elb, where the SSL terminates. How do I setup redirection of http requests to https? </p>
  
  <p>I am open to using Nginx as well, if there is a solution.</p>
  
  <p>Appreciate any help. </p>