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:


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


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



© 2021 Lucid Sight, Inc