Will WebSockets still work when using Cloudflare?

sangera month 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 Tananaeva month ago

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

sangera month ago

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

Anton Tananaeva month ago

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

sangera month 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?

sangera month ago

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