title: Forward http requests to https, req.secure not working
body: <p>Whenever I hit the URL with HTTP it does not redirect.</p>
  <p>server.js:</p>
  <pre><code>app.get('/', function(req,res) {
    console.log('get react app');
    if (req.secure) {
      res.sendFile(path.join(__dirname, '../build', 'index.html')); 
    }
    else {
      res.redirect(URL);//URL with HTTPS
    }
  });
  </code></pre>