微信小游戏websocket支持https/wss

时间:2019-03-02 10:20:44   收藏:0   阅读:461

公司新项目需要支持wss,解决方法如下:

https://blog.csdn.net/peter_teng/article/details/82866613

 

proxy_pass http://websocket;

 

的地方改成:

proxy_pass http://localhost:12001;

 

  即可

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!