Oh, thanks! How about now?
... def run(): Unit = { val https: HttpsConnectionContext = httpsContext val handler: Flow[HttpRequest, HttpResponse, Any] = route Http().bindAndHandle(handler, "0.0.0.0", port, httpsContext) .onComplete { case Success(ServerBinding(address)) => logger.info(s"Listening on $address") case Failure(cause) => logger.info(s"Can't bind to localhost:$port: $cause") } logger.info(s"Running HTTPS on port $port...") } ...
Yep. Thanks for checking!
Other options:
404
https://github.com/vpatryshev/presheaf2/blob/master/src/main/scala/com/presheaf/http/HttpsServer.scala
404 - Page not found.
~~~
Re: 404
Oh, thanks! How about now?
Re: 404
Re: 404
Yep. Thanks for checking!