Here are two things I had to do to get my knot server working. The SSH note is straightforward enough. For the proxy stuff, not sure what the difference is between :5444 and :5555, I just know I could only get my knot registered once I proxied to :5555.
+10
readme.md
+10
readme.md
···
59
59
EOF
60
60
```
61
61
62
+
Make sure to restart SSH to have this take effect.
63
+
62
64
Next, create the `git` user:
63
65
64
66
```
···
86
88
KNOT_SERVER_LISTEN_ADDR=127.0.0.1:5555
87
89
```
88
90
91
+
Next, configure the `KNOT_SERVER_HOSTNAME` hostname to proxy requests to the knot server. For caddy, it'll look something like this:
92
+
93
+
```
94
+
knot.example.com {
95
+
reverse_proxy http://127.0.0.1:5555
96
+
}
97
+
```
98
+
89
99
If you run a Linux distribution that uses systemd, you can use the provided
90
100
service file to run the server. Copy
91
101
[`knotserver.service`](https://tangled.sh/did:plc:wshs7t2adsemcrrd4snkeqli/core/blob/master/systemd/knotserver.service)