@cryptotaxi247 / kubo / commits / 21e96e2ec

docs: add transports.md

License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>

Lars Gierth committed Jul 4, 2017 at 21:18 UTC 21e96e2ec4cdef9139af02e06f68134d520543fc
1 file changed +12
docs/transports.md new
+12
@@ -0,0 +1,12 @@
1 +## /ws and /wss -- websockets
2 +
3 +If you want browsers to connect to e.g. `/dns4/example.com/tcp/443/wss/ipfs/QmFoo`
4 +
5 +- [ ] An SSL cert matching the `/dns4` or `/dns6` name
6 +- [ ] go-ipfs 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` -- go-ipfs 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