我读过How to configure playframework server to support ssl,我也试着关注http://www.playframework.org/documentation/1.1.1/releasenotes-1.1#https,但它对我不起作用
非常感谢~
我阅读了Play1的文档,因为我找不到Play2关于https的更多更新信息。
在application.conf中,我添加了以下几行:
https.port=9443
certificate.key.file=conf/host.key
certificate.file=conf/host.cert我在play控制台中键入run,并尝试在浏览器超时时访问https://localhost:9443服务器,但控制台输出中没有记录任何内容
发布于 2014-04-18 09:25:03
设置Play (2.2.x)的当前版本的文档在这里:http://www.playframework.com/documentation/2.2.x/ConfiguringHttps
发布于 2015-12-23 02:18:19
这对于本地测试https很有用:
activator "run -Dhttps.port=9005"然后将浏览器指向https://localhost:9005。
https://stackoverflow.com/questions/10748305
复制相似问题