aboutsummaryrefslogtreecommitdiff
path: root/forge.scfg
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-13 15:16:11 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-13 15:16:11 +0800
commit1364d688e454454258c6c97b1dc844cc94a67a9e (patch)
treef95b9370cff76eeba71b86dbcd7333586ba1f7a9 /forge.scfg
parent{http,ssh}_server.go: Add debug logs for incoming requests (diff)
downloadforge-1364d688e454454258c6c97b1dc844cc94a67a9e.tar.gz
forge-1364d688e454454258c6c97b1dc844cc94a67a9e.tar.zst
forge-1364d688e454454258c6c97b1dc844cc94a67a9e.zip
ssh_url_generation.go, etc.: Add config ssh.root and use it
Detecting it based on HTTP host name is definitely unreliable. Just add a configuration option and it should work.
Diffstat (limited to '')
-rw-r--r--forge.scfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/forge.scfg b/forge.scfg
index 27f6fdc..11facba 100644
--- a/forge.scfg
+++ b/forge.scfg
@@ -8,6 +8,7 @@ ssh {
net tcp
addr :2222
key /etc/ssh/ssh_host_ed25519_key
+ root ssh://forge.example.org
}
db {