|
Hey guys, maybe someone can help me with this. Here are my configurations, I compared them to the documentation multiple times: Cloudflare Tunnel Domain Configuration: Cloudflare SSL/TLS Encryption Mode: Full Coolify Config: I restarted coolify with the script, the whole server and in the ui but connecting to the websocket doesn't work. The developer console states: Do you guys have any idea what am I doing wrong? |
Replies: 2 comments 2 replies
|
The default port for websockets seems to be 6001 according to the docker-compose file that has the |
|
After more tests @gmrizzo I got it to work by setting |
Got it working! So in the end, my proxy config would not redirect the realtime connections to the right container. I previously added a config to cloudflare for realtime.mydomain.com => http://localhost:6001 to circumvent the proxy but this didn't work.
The key reason why this didn't work was the order of rules in cloudflare. My current config looks like this. Check if the order of hostnames is right.
I hope this helps anybody to fix their issues in the future with this topic.