[MMO] Centrifugo - Extra information

Integration with scalable real-time messaging server.
[MMO] Centrifugo
Integration with scalable real-time messaging server.
  • Screen.jpg
    Screen.jpg
    52.6 KB · Views: 212
  • Screen.jpg
    Screen.jpg
    32.3 KB · Views: 204
  • Screen 2.jpg
    Screen 2.jpg
    17.6 KB · Views: 200

Overview Feature list Copyright info License agreement FAQ Releases (7)

  • Download and unzip it.
  • Copy the directory to your server.
  • From the AdminCP install the add-on.
Configuration centrifugo:
Configuration centrifugo admin panel:
Configuration centrifugo engine, scalability:
Configuration nginx:
If you are using the live threads add-on ([MMO] Live Threads)
You must add a namespace. Example configuration with live threads:
JSON:
{
  "token_hmac_secret_key": "",
  "admin_password": "",
  "admin_secret": "",
  "api_key": "",
  "allowed_origins": [
    "your_hosting",
  ],
  "namespaces": [
    {
      "name": "public"
    }
  ]
}
You can find information about namespaces here:
Updating to the connection on the nginx side is configured by the /connection/websocket location
Example nginx configuration:
NGINX:
upstream centrifugo {
    # uncomment ip_hash if using SockJS transport with many upstream servers.
    #ip_hash;
    server 127.0.0.1:8000;
}

map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

server {
   # ... your web site Nginx config
    location /connection/websocket {
        proxy_pass http://centrifugo;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
    }
}

Product Information

[MMO] Core Lib
Seller
kick
Release date
Last update
0% 0.00 star(s) 0 ratings

Pricing information

Lifetime
Free
Back
Top