GitHub Documentation

Can not call client.joinOrCreate() when deploying on Nginx



  • Hello everyone, I have got an error when deploying on Nginx.

    My Nginx config:

    0_1576083162767_Screenshot_20191211_234259.png

    I use colyseus.js for client side, when I call client.joinOrCreate(), I have got an error:

    0_1576083524448_2222.png

    That error appears for both wss://domain and ws://domain. But when I use ws://my_server_ip, it works.

    Thanks!


 

© 2021 Lucid Sight, Inc