aboutsummaryrefslogtreecommitdiff
path: root/forge.scfg
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-12 17:08:27 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-12 17:08:27 +0800
commit78ef3b19d40aa6f63412ba961ab5c8bf0939237e (patch)
treed7758dc2071a8cedf02eeba9d731af4ea8ad5c3b /forge.scfg
parentrouter.go: Fix out-of-bounds read on /: (diff)
downloadforge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.tar.gz
forge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.tar.zst
forge-78ef3b19d40aa6f63412ba961ab5c8bf0939237e.zip
ssh.go: Add anonymous SSH cloning
Diffstat (limited to 'forge.scfg')
-rw-r--r--forge.scfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/forge.scfg b/forge.scfg
index b414410..194c046 100644
--- a/forge.scfg
+++ b/forge.scfg
@@ -3,6 +3,12 @@ http {
addr :8080
}
+ssh {
+ net ssh
+ addr :2222
+ key /etc/ssh/ssh_host_ed25519_key
+}
+
db {
type postgres
conn postgresql:///lindenii-forge?host=/var/run/postgresql