mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 01:52:26 +08:00
docs: add transports.md
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
This commit is contained in:
12
docs/transports.md
Normal file
12
docs/transports.md
Normal file
@ -0,0 +1,12 @@
|
||||
## /ws and /wss -- websockets
|
||||
|
||||
If you want browsers to connect to e.g. `/dns4/example.com/tcp/443/wss/ipfs/QmFoo`
|
||||
|
||||
- [ ] An SSL cert matching the `/dns4` or `/dns6` name
|
||||
- [ ] go-ipfs listening on `/ip4/127.0.0.1/tcp/8081/ws`
|
||||
- 8081 is just an example
|
||||
- note that it's `/ws` here, not `/wss` -- go-ipfs can't currently do SSL, see the next point
|
||||
- [ ] nginx
|
||||
- configured with the SSL cert
|
||||
- listening on port 443
|
||||
- forwarding to 127.0.0.1:8081
|
Reference in New Issue
Block a user