server-snap
server-snap copied to clipboard
Cannot disable WebSockets for use on Cloudflare
I'm trying to configure RocketChat with Cloudflare. All requests on XHR/Websocket to this URL always fails by "400 bad request".
Someone said to have this fixed by setting:
export DISABLE_WEBSOCKETS=1
Setting this on CLI before restart of server does not seem to work. Any scripts/configuration files are read-only due to limitations of snapd and squashfs. Any configuration in a read/writeable place would be awesome.
Does anyone have a clue on how to get cloudflare running with rocketchat? Direct access without Cloudflare works like a charm. With Cloudflare not even login is working (or loading).