XForwardedSupport for https play! support on Heroku failing

前端 未结 3 475
暗喜
暗喜 2020-12-17 01:16

I am deploying an app on Heroku and trying to determine whether the request coming in is secure (request.secure). This is initially returning false on heroku because nginx h

3条回答
  •  攒了一身酷
    2020-12-17 01:43

    thnx big time! you saved hours of struggling with heroku+play! I can confirm that when you set this in application.conf

    XForwardedSupport=all
    

    heroku stops complaining with SIGTERM

提交回复
热议问题