I have a tiny project based on the template from official Scalatra tutorial. I read it's possible to setup jetty to support HTTPS, but I have no idea how to do that.
Is it possible to enable HTTPS support in Scalatra (jetty) without other standalone software (e.g. nginx) wrapping communication? If so, how to do that?
All you need is install java and sbt. Intruction here: http://scalatra.org/getting-started/installation.html and after creating project you will have in build.sbt
and jetty will be downloaded automatically by sbt. You don't need to install anything else i.e. jetty or nginx. Jetty is a Java web-server library, it can receive and send requests by https. It works on jvm and don't need some addition software.