Has anyone successfully implemented SSL in Play 2.5 using Scala?

39 views
Skip to first unread message

Jacqueline Hubbard

unread,
May 31, 2017, 4:36:28 AM5/31/17
to Play framework dev
Hi there

Has anyone successfully implemented SSL in Play 2.5 using Scala?

Thanks
Jackie

Greg Methvin

unread,
Jun 1, 2017, 10:53:12 AM6/1/17
to Jacqueline Hubbard, Play framework dev
Hi Jackie,

If you'd like to serve HTTPS from your Play app directly, take a look at https://www.playframework.com/documentation/2.5.x/ConfiguringHttps, and the example app here: https://github.com/playframework/play-scala-tls-example

You can also set up a reverse proxy in front of your HTTP Play app in production: https://www.playframework.com/documentation/2.5.x/HTTPServer. This is often preferred since it is simpler to configure and allows you to do other things like load balance between multiple instances.

Greg

--
You received this message because you are subscribed to the Google Groups "Play framework dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Greg Methvin
Tech Lead - Play Framework

Reply all
Reply to author
Forward
0 new messages