Redirecting http to https in production

Is there a way to have all http requests be redirected to https instead? I already have https setup on a load balancer so I’m not looking to setup SSL in play / adding a keystore, etc. Ideally I’d just like to have all http requests just get sent via a 301 redirect or such to the https endpoint.

1 Like

Please check https://www.playframework.com/documentation/2.7.x/RedirectHttpsFilter

1 Like