Will WebSockets still work when using Cloudflare?

sanger2 months ago

Hey, i got a domain, i installed SSL. Everything works fine i can access to the site. But when i use a site like "Website IP Address Lookup" they will show my vps ip address, i want to change that with cloudflare. does it affect the websocket in any way?

Anton Tananaev2 months ago

If you mean Cloudflare proxy, they do support WebSockets, so it shouldn't be a problem.

sanger2 months ago

Perfect, do I have to do the Connection with the Cloudflare IP oder my VPS ip?

Anton Tananaev2 months ago

You have to use domain. But it will point to one of CF servers.

sanger2 months ago

The API ist not working anymore, i deleted the opt/traccar/modern content and uploaded my own frontend.
now the frontend cant find the api anymore. any ideas?

sanger2 months ago

Never mind, was my fault. I got it now. Had to redirect it in the nginx config