- Download and unzip it.
- Copy the directory to your server.
- From the AdminCP install the add-on.
Configuration centrifugo:
Configure Centrifugo | Centrifugo
Configuration centrifugo admin panel:
Admin web UI | Centrifugo
Configuration centrifugo engine, scalability:
Engines, scalability | Centrifugo
Configuration nginx:
Load balancing | Centrifugo
In addition, you must allow anonymous clients in the centrifuge configuration, due to live loading support in threads, an anonymous connection is required for this without generating a JWT token. By adding these lines to the connection
JSON:
"anonymous": true
"client_anonymous": true
Updating to the connection on the nginx side is configured by the /connection/websocket location