I am deploying an application on Heroku and trying to determine if an incoming request is secure (request.secure). This initially returns false on heroku, because nginx handles the SSL operation and communicates via simple http with the application server. Therefore, to play, read the headers that let you know the secure request that I am adding:
XForwardedSupport = 127.0.0.1
In application.conf, as recommended on bulletin boards. However, all requests (except for images) fail, without errors. It seems to be something fundamental before it gets into game magazines. Has anyone experienced this?
source share