Play framework: Why does https url not work on using “sbt dist” command?
问题 I am trying to create executable file for deploying my web app using play framework sbt dist command. When I run my application using "sbt run" command then https work but when I use sbt dist and run my executable file to start my app then only http url works. Following is my configuration In build.sbt javaOptions ++= Seq( "-Dhttps.keyStore=conf/keystore.jks", "-Dhttps.keyStorePassword=*****", "-Dhttp.port=9000", "-Dhttps.port=9001", "-Dsentry.dsn=https://****" ) In application.conf play.http