configure jetty ssl in heroku

家住魔仙堡 提交于 2019-12-13 17:19:40

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/8869459/configure-jetty-ssl-in-heroku

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!