.to start the server side of the chat - you need to open the SSH console, go to the forum directory and enter the
php chat_start.php start -d
command
Restart command:
php chat_start.php restart
Stop command:
php chat_start.php stop
If you use Cloudflare, then you need to enable the
Websockets
option in the
Network
section.
And read this
https://support.cloudflare.com/hc/en-us/articles/200169156-Identifying-network-ports-compatible-with-Cloudflare-s-proxy.
If you want to change the port of the chat, then after you change it in the options, you need to restart the server part of the chat.
Chat port must be opened for TCP connections.
Channel adapter port must be opened for TCP connections from localhost (127.0.0.1).
Nginx proxy configuration template:
NGINX:
location /chat.io/ {
proxy_pass http://127.0.0.1:{your_chat_port};
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}