From 91e64add803caeee73ee50d0d0879aaea1486dbf Mon Sep 17 00:00:00 2001 From: NotNite Date: Mon, 17 Mar 2025 14:27:53 -0400 Subject: [PATCH] Document magic domains, privileged port usage I ran into the issue with privileged ports myself. The link to the Caddy website has an aside about how to use setcap or sudo, which should be good enough. --- USAGE.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/USAGE.md b/USAGE.md index af7201a..12a2875 100644 --- a/USAGE.md +++ b/USAGE.md @@ -26,9 +26,11 @@ $ ./run.sh Kawari is useless if it's not behind a domain or other address accessible to a launcher. Even something like Caddy is good enough, and we provide an example setup in the root of the repository. ```shell -# caddy run +$ caddy run ``` +This Caddyfile hosts several domains, most notably `ffxiv.localhost`, on port 80. If you get a "permission denied" error starting Caddy, you must either start Caddy with elevated privileges or set the `CAP_NET_BIND_SERVICE` capability. See [here](https://caddyserver.com/docs/quick-starts/caddyfile) for more information on how to do this. + ## Logging in [Astra](https://github.com/redstrate/Astra) is the only launcher known to work, and it requires compiling the unreleased master branch. **If you don't know what any of that means, then wait for a new release of Astra before trying Kawari.**