gitea ssh
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
# {
|
# {
|
||||||
|
|||||||
Reference in New Issue
Block a user