Theme editor

  • New XenForo Released Full Nulled 2.3.10 is available for download now. -> HERE
    New XenForo Released Upgrade Nulled 2.3.10 is available for download now. -> HERE
    XenForo Enhanced Search (XFES) 2.3.10 is available for download now. -> HERE
    XenForo Resource Manager (XFRM) 2.3.10 is available for download now. -> HERE
    XenForo Media Gallery (XFMG) 2.3.10 is available for download now. -> HERE

[MMO] Centrifugo

| XF 2.3 Add-ons (Premium) [MMO] Centrifugo 2.3.6

No permission to download
Configuration centrifugo:
https://centrifugal.dev/docs/server/configuration
Configuration centrifugo admin panel:
https://centrifugal.dev/docs/server/admin_web
Configuration centrifugo engine, scalability:
https://centrifugal.dev/docs/server/engines
Configuration nginx:
https://centrifugal.dev/docs/server/load_balancing
If you are using the live threads add-on (https://xenforo.com/community/resources/mmo-live-threads.8777/)
You must add a namespace. Example configuration with live threads:
JSON:
Expand Collapse Copy
{
  "client": {
    "token": {
      "hmac_secret_key": "YOUR_DATA"
    },
    "allowed_origins": [
      "http://localhost",
    ]
  },
  "channel": {
    "namespaces": [
      {
        "name": "public",
        "allow_subscribe_for_client": true
      },
      {
        "name": "dm",
        "allow_user_limited_channels": true
      },
      {
        "name": "personal",
        "allow_user_limited_channels": true
      }
    ]
  },
  "admin": {
    "enabled": true,
    "password": "YOUR_DATA",
    "secret": "YOUR_DATA"
  },
  "http_api": {
    "key": "YOUR_DATA"
  }
}


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:
Expand Collapse Copy
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;
    }
}
Back
Top