gitea ssh

This commit is contained in:
mjallen18
2025-05-30 19:20:02 -05:00
parent 63fdb7cc97
commit 1c4cf89a9e

View File

@@ -45,8 +45,8 @@ in
HTTP_PORT = httpPort; HTTP_PORT = httpPort;
PROTOCOL = "http"; PROTOCOL = "http";
ROOT_URL = rootUrl; ROOT_URL = rootUrl;
START_SSH_SERVER = true;
SSH_PORT = sshPort; SSH_PORT = sshPort;
# SSH_LISTEN_PORT = sshPort;
}; };
service = { service = {
REGISTER_EMAIL_CONFIRM = false; REGISTER_EMAIL_CONFIRM = false;
@@ -97,7 +97,7 @@ in
sourcePort = httpPort; sourcePort = httpPort;
} }
{ {
destination = "${localAddress}:${toString 22}"; destination = "${localAddress}:${toString 2222}";
sourcePort = sshPort; sourcePort = sshPort;
} }
# { # {