If you mean Cloudflare proxy, they do support WebSockets, so it shouldn't be a problem.
Perfect, do I have to do the Connection with the Cloudflare IP oder my VPS ip?
You have to use domain. But it will point to one of CF servers.
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?
Never mind, was my fault. I got it now. Had to redirect it in the nginx config
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?