diff --git i/readme.md w/readme.md index 1e0666d..17a3728 100644 --- i/readme.md +++ w/readme.md @@ -59,6 +59,8 @@ Match User git EOF ``` +Make sure to restart SSH to have this take effect. + Next, create the `git` user: ``` @@ -86,6 +88,14 @@ KNOT_SERVER_INTERNAL_LISTEN_ADDR=127.0.0.1:5444 KNOT_SERVER_LISTEN_ADDR=127.0.0.1:5555 ``` +Next, configure the `KNOT_SERVER_HOSTNAME` hostname to proxy requests to the knot server. For caddy, it'll look something like this: + +``` +knot.example.com { + reverse_proxy http://127.0.0.1:5555 +} +``` + If you run a Linux distribution that uses systemd, you can use the provided service file to run the server. Copy [`knotserver.service`](https://tangled.sh/did:plc:wshs7t2adsemcrrd4snkeqli/core/blob/master/systemd/knotserver.service)