gitea ssh
This commit is contained in:
@@ -45,8 +45,8 @@ in
|
||||
HTTP_PORT = httpPort;
|
||||
PROTOCOL = "http";
|
||||
ROOT_URL = rootUrl;
|
||||
START_SSH_SERVER = true;
|
||||
SSH_PORT = sshPort;
|
||||
# SSH_LISTEN_PORT = sshPort;
|
||||
};
|
||||
service = {
|
||||
REGISTER_EMAIL_CONFIRM = false;
|
||||
@@ -97,7 +97,7 @@ in
|
||||
sourcePort = httpPort;
|
||||
}
|
||||
{
|
||||
destination = "${localAddress}:${toString 22}";
|
||||
destination = "${localAddress}:${toString 2222}";
|
||||
sourcePort = sshPort;
|
||||
}
|
||||
# {
|
||||
|
||||
Reference in New Issue
Block a user