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
EOF
60
```
61
62
Next, create the `git` user:
63
64
```
···
86
KNOT_SERVER_LISTEN_ADDR=127.0.0.1:5555
87
```
88
89
If you run a Linux distribution that uses systemd, you can use the provided
90
service file to run the server. Copy
91
[`knotserver.service`](https://tangled.sh/did:plc:wshs7t2adsemcrrd4snkeqli/core/blob/master/systemd/knotserver.service)
···
59
EOF
60
```
61
62
+
Make sure to restart SSH to have this take effect.
63
+
64
Next, create the `git` user:
65
66
```
···
88
KNOT_SERVER_LISTEN_ADDR=127.0.0.1:5555
89
```
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
+
99
If you run a Linux distribution that uses systemd, you can use the provided
100
service file to run the server. Copy
101
[`knotserver.service`](https://tangled.sh/did:plc:wshs7t2adsemcrrd4snkeqli/core/blob/master/systemd/knotserver.service)