However, I can’t request the websocket services through ws://socket.iofod.com, but must be through wss://socket.iofod.com, yes I can implement reverse proxy through nginx forwarding, but I want to do it through the configuration on cloudflare, what should I do ?
Thanks, you are correct. Full Strict eliminates potential security risks. I’ve used render’s hosting service before and found that they can do what I described, they also use cloudflare, I guess they probably do websocket reverse proxy by some magic configuration of cloudflare.
In that case I’d suggest you secure the encryption mode at this point.
As for the WebSocket question, socket.iofod.com does not exist but apart from that you might also want to check out HTTPS redirects and HSTS. Especially if the latter is enabled, you probably won’t be able to use ws:.