nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 307 forks source link

Any way to support secure websocket connection? #99

Open adamthehutt opened 10 years ago

adamthehutt commented 10 years ago

I'm trying to use websocket pubsub from an html page loaded over https. The browser's security restrictions prevent this, though, since the websocket connection is made over ws:// instead of wss://. I tried using wss:// but it doesn't seem to be supported by webdis. Is there something I'm missing? If not, do you plan to implement support for secure websocket connections at some point in the future?

nicolasff commented 10 years ago

Hello,

I don't have any plans to support SSL at this time, sorry. The easiest way is probably to set up nginx as a reverse proxy and terminate SSL connections there.

adamthehutt commented 10 years ago

Thanks. It seems to work okay with the chunked transfer encoding approach. However, let me know if you'd be open to someone "sponsoring" the wss:// feature.

ghost commented 9 years ago

Is there any changes about SSL yet ?