【发布时间】:2018-07-24 20:54:54
【问题描述】:
我在 Elixir 中创建了一个应用程序,该应用程序使用 channels/websockets 。本地 websocket 工作,但在暂存 dont 。 有人可以帮我在我的服务器上设置 websockets 吗?
在尝试连接时出现错误:
Unexpected response code: 400
【问题讨论】:
标签: nginx elixir phoenix-framework
我在 Elixir 中创建了一个应用程序,该应用程序使用 channels/websockets 。本地 websocket 工作,但在暂存 dont 。 有人可以帮我在我的服务器上设置 websockets 吗?
在尝试连接时出现错误:
Unexpected response code: 400
【问题讨论】:
标签: nginx elixir phoenix-framework
用问题结束这个话题
How to configure Elixir, NGINX, Websockets on server
https://chrislea.com/2013/02/23/proxying-websockets-with-nginx/
可能你需要在 nginx 中进行配置。
【讨论】: