I am using Play 2.6 version and in order to redirect all HTTP requests to HTTPS automatically, I have added following lines in application.conf file:
play.filters.enabled += play.filters.https.RedirectHttpsFilter play.filters.https.strictTransportSecurity="max-age=31536000; includeSubDomains"
However, when entering
www.mywebsite.com in my browser, it does not automatically redirect to
Am I missing something ? Is there some extra configuration which needs to be set ?