Https redirect and login cookies on Heroku with Play Framework
问题 I have a Play! framework Heroku project that has three deployments. One for running my dev machine, one for beta on Heroku, and one for production on Heroku. Their http and https urls are as follows: DEV BETA PRODUCTION HTTP URL | http://localhost:9000 http://domain-beta.herokuapps.com http://www.domain.com HTTPS URL | https://localhost:9443 https://domain-beta.herokuapps.com https://secure.domain.com HTTPS Type | My cert Piggyback (using Heroku's cert) Hostname-based SSL (using my cert) I