在heroku中配置jetty ssl [英] configure jetty ssl in heroku

查看:178
本文介绍了在heroku中配置jetty ssl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在服务器目录中有一个独立的码头启动器。我有一些jeytty配置代码。我需要配置jetty以使用http和https连接器。
据我所知,heroku提供自定义端口以启动码头。目前还不清楚我可以使用什么端口来配置SSL连接器。另外,如果我使用piggyback addon,我应该提供任何码头证书,这一点还不清楚。 你不需要配置Jetty for SSL。 Heroku将终止路由层的SSL端点并从那里为您处理。 Jetty中的配置选项适用于Jetty希望充当SSL端点的情况。


I have a standalone launcher for jetty inside server directory. I have some jeytty configuration code there. I need to configure jetty to work with http and https connectors. As I understand heroku supplies custom port to launch jetty on. It's not clear what port can i use to configure SSL connector. Also it's unclear should I provide any certificate for jetty if I use piggyback addon.

解决方案

You shouldn't need to configure Jetty for SSL at all. Heroku will terminate the SSL endpoint at the routing layer and handle it for you from there. The config options in Jetty are for when Jetty is expecting to act as the SSL endpoint.

这篇关于在heroku中配置jetty ssl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆