handshake: Unexpected response code: 400 django Nginx WebSocket 部署在Windows server2012 r2上

Nginx服務器的解決方法如下: 前端代碼:   將紅框中的本地ip:端口改成服務器的ip:端口 會報 websocket handshake: Unexpected response code: 400錯誤但是現將IP和端口改爲服務器的 Django 代碼  這裏需要安裝 dwebsocket 並在setting中配置 並且在setting最下邊寫上WEBSOCKET_ACCEPT_ALL=Tr
相關文章
相關標籤/搜索