Tiny Play 1.x plugin to fix an issue with SSL/TLS-enabled reverse proxy. Credit.
# Application dependencies
require:
- play
- itsadok -> https-redirect-fixer 0.1
repositories:
- itsadok:
type: http
artifact: https://dl.dropbox.com/s/3ab9oqh5tgdm9is/[module]-[revision].zip
contains:
- itsadok -> *
RequestHeader set X-FORWARDED-PROTO 'https'
I'm assuming you're using Apache2. You need to install and enable mod_headers.
See the linked article for more details.
CC0.