Attempt to make forgejo ssh work (again)
This commit is contained in:
parent
f90b8e27fe
commit
c954c32ae1
|
@ -9,7 +9,7 @@
|
||||||
satellite.cloudflared.at.git.port = config.satellite.ports.forgejo;
|
satellite.cloudflared.at.git.port = config.satellite.ports.forgejo;
|
||||||
satellite.cloudflared.at."ssh.git" = {
|
satellite.cloudflared.at."ssh.git" = {
|
||||||
protocol = "ssh";
|
protocol = "ssh";
|
||||||
port = config.satellite.ports.forgejo-ssh;
|
port = 22; # default ssh port
|
||||||
};
|
};
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
|
@ -32,8 +32,8 @@
|
||||||
|
|
||||||
# START_SSH_SERVER = true;
|
# START_SSH_SERVER = true;
|
||||||
# BUILTIN_SSH_SERVER_USER = "git";
|
# BUILTIN_SSH_SERVER_USER = "git";
|
||||||
|
# SSH_LISTEN_PORT = config.satellite.ports.forgejo-ssh;
|
||||||
SSH_DOMAIN = config.satellite.cloudflared.at."ssh.git".host;
|
SSH_DOMAIN = config.satellite.cloudflared.at."ssh.git".host;
|
||||||
SSH_LISTEN_PORT = config.satellite.ports.forgejo-ssh;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cron.ENABLED = true;
|
cron.ENABLED = true;
|
||||||
|
|
Loading…
Reference in a new issue