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.