socket.io - cloudflare SSH and sockets: how to run them together? -
i using flexible ssl cloudflare, site now
https://www.example.com
inside site, use socket.io :
server = 'http://direct.example.com'; socket = io.connect(server+":1445" , {'force new connection': true });
problem got:
mixed content: page @ 'https://' loaded on https, requested insecure xmlhttprequest endpoint 'http://direct.example.com:1445/socket.io/?eio=3&transport=polling&t=1434191759199-17'.
so how can keep https on site , call sockets server ?
(my server not have ssl: use flexible ssl cloudflare)
cloudflare can't proxy websockets right other enterprise customer (we're rolling out broader support later year). unless going on 1 of these ports supportright now, needs on subdomain don't touch (this mean ssl wouldn't work).
Comments
Post a Comment