PlayFramework HTTPS routes only in prod mode, HTTP in dev mode -
PlayFramework HTTPS routes only in prod mode, HTTP in dev mode -
i routes https when in production mode, http in development mode. right now, way i'm aware of creating https routes using: @@{controller.action().secure()}
, hard-codes them https.
is possible in routes or application.conf setting?
the easy way alter way works dev prod mode, leaving play in http only, , securing whole site in prod mode fronting http server nginx, lighttp or apache.
this approach means application stays same in both modes, , configuration done @ higher layer application.
this approach mean entire site become https, don't see beingness bad thing, in fact may give users little more confidence in security of entire site.
playframework
Comments
Post a Comment