forked from M-Labs/it-infra
nixbld: switch to gitea built-in SSH server
This commit is contained in:
parent
4e6686dbe9
commit
ca895df9f3
|
@ -87,7 +87,7 @@ in
|
|||
hostName = "nixbld";
|
||||
hostId = "e423f012";
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 53 80 443 7402 ];
|
||||
allowedTCPPorts = [ 53 80 443 2222 7402 ];
|
||||
allowedUDPPorts = [ 53 67 500 4500 ];
|
||||
trustedInterfaces = [ netifLan ];
|
||||
};
|
||||
|
@ -750,6 +750,10 @@ in
|
|||
server = {
|
||||
ROOT_URL = "https://git.m-labs.hk/";
|
||||
HTTP_PORT = 3001;
|
||||
DISABLE_SSH = false;
|
||||
SSH_CREATE_AUTHORIZED_KEYS_FILE = false;
|
||||
START_SSH_SERVER = true;
|
||||
SSH_PORT = 2222;
|
||||
};
|
||||
|
||||
indexer = {
|
||||
|
|
Loading…
Reference in New Issue