From c6a1513a070560f9d8af7ec64cde7a145f5191bd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 12 Nov 2023 10:22:00 +0100 Subject: [PATCH] doc/setup: add kimchi instructions --- doc/setup.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/setup.md b/doc/setup.md index 49ed884..65d7aa2 100644 --- a/doc/setup.md +++ b/doc/setup.md @@ -47,6 +47,20 @@ If you are unable to configure the proxy timeout accordingly, or if your IRC server doesn't send PINGs, you can set the `server.ping` option in `config.json` (see below). +## [kimchi] + +Setup kimchi to serve gamja files and proxy the WebSocket connection: + +``` +site irc.example.org { + file_server /path/to/gamja +} +site irc.example.org/socket { + reverse_proxy http://127.0.0.1:8080 +} +``` + [soju]: https://soju.im [webircgateway]: https://github.com/kiwiirc/webircgateway +[kimchi]: https://sr.ht/~emersion/kimchi/ [configuration file]: config-file.md