Revision 0f1ec5949e71e52545cda1c58bbbfe80e930d4a3 authored by Jorropo on 25 September 2023, 13:23:12 UTC, committed by Jorropo on 25 September 2023, 13:39:55 UTC
1 parent 7173178
Raw File
transports.md
## /ws and /wss -- websockets

If you want browsers to connect to e.g. `/dns4/example.com/tcp/443/wss/p2p/QmFoo`

- [ ] An SSL cert matching the `/dns4` or `/dns6` name
- [ ] Kubo listening on `/ip4/127.0.0.1/tcp/8081/ws`
  - 8081 is just an example
  - note that it's `/ws` here, not `/wss` -- Kubo 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
back to top