master
md 12 lines 447 Bytes
Rendered Raw
1 ## /ws and /wss -- websockets
2
3 If you want browsers to connect to e.g. `/dns4/example.com/tcp/443/wss/p2p/QmFoo`
4
5 - [ ] An SSL cert matching the `/dns4` or `/dns6` name
6 - [ ] Kubo listening on `/ip4/127.0.0.1/tcp/8081/ws`
7 - 8081 is just an example
8 - note that it's `/ws` here, not `/wss` -- Kubo can't currently do SSL, see the next point
9 - [ ] nginx
10 - configured with the SSL cert
11 - listening on port 443
12 - forwarding to 127.0.0.1:8081