Force my heroku app to use SSL (https)

前端 未结 9 1156
栀梦
栀梦 2020-11-30 03:42

I have a node app running successfully on Heroku. I have purchased an Expedited SSL certificate and it all works fine. I go to https... and get a full \'green bar\' proving

9条回答
  •  一整个雨季
    2020-11-30 04:28

    On Heroku, it's slightly tricky to determine the fact that the request came in over http. https is handled at a heroku routing layer and it passes along the request to the node app on http).

    This post got me unstuck http://jaketrent.com/post/https-redirect-node-heroku/

提交回复
热议问题