【发布时间】:2021-07-18 16:27:43
【问题描述】:
我已经看过很多关于如何在 heroku 上设置 HTTPS 和 Websockets 的文档和教程,但是否可以设置其他协议,如 TLS 或 NATS?
如果可能的话,我该怎么做?
【问题讨论】:
标签: heroku heroku-cli nats.io nats-streaming-server
我已经看过很多关于如何在 heroku 上设置 HTTPS 和 Websockets 的文档和教程,但是否可以设置其他协议,如 TLS 或 NATS?
如果可能的话,我该怎么做?
【问题讨论】:
标签: heroku heroku-cli nats.io nats-streaming-server
很遗憾,没有。
入站请求由提供 SSL 的负载平衡器接收 终止。从这里它们被直接传递给一组路由器。
路由器负责确定您的位置 应用程序的 web dynos 并将 HTTP 请求转发到其中之一 这些测功机。
https://devcenter.heroku.com/articles/http-routing#routing
不支持
- TCP 路由
https://devcenter.heroku.com/articles/http-routing#not-supported
Heroku 仅为托管在其上的应用程序提供 http/https 路由。
【讨论】: