Whenever I hit the URL with HTTP it does not redirect.
server.js:
app.get(\'/\', function(req,res) { console.log(\'get react app\'); if (req.secure) {