Update cmd/anubis/main.go

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-03-23 19:40:17 -04:00
parent 76e117f0bd
commit 5b2c0e960d
+1 -1
View File
@@ -180,7 +180,7 @@ func main() {
log.Fatalf("failed to generate ed25519 key: %v", err)
}
slog.Warn("generating random key, Anubis will have strange behavior when multiple instances are behind the same load balancer target, to fix this, persist hex as envvar ED25519_PRIVATE_KEY_HEX", "hex", hex.EncodeToString(priv.Seed()))
slog.Warn("generating random key, Anubis will have strange behavior when multiple instances are behind the same load balancer target, for more information: see https://anubis.techaro.lol/docs/admin/installation#key-generation")
} else {
priv, err = keyFromHex(*ed25519PrivateKeyHex)
if err != nil {