diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-12 10:22:00 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-11-12 10:22:00 +0100 |
commit | c6a1513a070560f9d8af7ec64cde7a145f5191bd (patch) | |
tree | dd1a6846374393724a27a60bac309ef440a67445 | |
parent | 3771b39979fdc0d8b93da6bf70c879551e1e61c4 (diff) | |
download | gamja-c6a1513a070560f9d8af7ec64cde7a145f5191bd.tar.gz gamja-c6a1513a070560f9d8af7ec64cde7a145f5191bd.zip |
doc/setup: add kimchi instructions
-rw-r--r-- | doc/setup.md | 14 |
1 files changed, 14 insertions, 0 deletions
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 |