Will WebSockets still work when using Cloudflare?

sanger a year 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 Tananaev a year ago

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

sanger a year ago

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

Anton Tananaev a year ago

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

sanger a year 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?

sanger a year ago

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