我已经看过很多关于如何在 heroku 上设置 HTTPS 和 Websockets 的文档和教程,但是可以设置另一个协议,比如 TLS 或 NATS?
如果可能的话,我该怎么做?
我已经看过很多关于如何在 heroku 上设置 HTTPS 和 Websockets 的文档和教程,但是可以设置另一个协议,比如 TLS 或 NATS?
如果可能的话,我该怎么做?
很不幸的是,不行。
提供 SSL 终止的负载平衡器接收入站请求。从这里它们被直接传递给一组路由器。
路由器负责确定应用程序 Web dyno 的位置并将 HTTP 请求转发到这些 dyno 之一。
https://devcenter.heroku.com/articles/http-routing#routing
不支持
- TCP 路由
https://devcenter.heroku.com/articles/http-routing#not-supported
Heroku 只为托管在其上的应用程序提供 http/https 路由。