Server
Push server
Chats, calls, notifications and counters need it: a new message appears at once, without reloading the page.
Turn it on#
luckybx comp push on
luckybx site finish shop.example.comThe first command installs the push server, the second connects the site to it. If push was turned on at installation, site finish after the Bitrix wizard connects it by itself.
Check#
luckybx serviceBoth push services must be running: subscribe (sub) and publish (pub). Bitrix has a "System check", and it has a line about push too.
Restart#
luckybx service restart pushTurn it off#
luckybx comp push offThe sites stop using it by themselves first.
Good to know#
- No ports need to be opened. Everything goes through the normal site address.
- If there is another proxy in front of the server, it must let websocket through.