Lindenii Project Forge
Login
Commit info
ID1c03893a403dfc95f99f6d6705d1eded76d48fe0
AuthorRunxi Yu<me@runxiyu.org>
Author dateFri, 14 Feb 2025 23:27:07 +0800
CommitterRunxi Yu<me@runxiyu.org>
Committer dateFri, 14 Feb 2025 23:27:07 +0800
Actions
Get patch
forge.scfg: Change default ssh host key path

Usually the user running the forge won't be able to read
/etc/ssh/ssh_host_ed25519_key, and OpenSSH likes to panic when it
doesn't like key permissions. People likely won't want their OpenSSH and
Lindenii SSH host keys to be the same anyway, so let's use
/etc/lindenii/ssh_host/ed25519_key for this.
http {
	net tcp
	addr :8080
	cookie_expiry 604800
}

ssh {
	net tcp
	addr :2222
	key /etc/ssh/ssh_host_ed25519_key
	key /etc/lindenii/ssh_host_ed25519_key
	root ssh://forge.example.org
}

general {
	title "Test Forge"
}

db {
	type postgres
	conn postgresql:///lindenii-forge?host=/var/run/postgresql
}

git {
	root /srv/git
}