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";
|
hostName = "nixbld";
|
||||||
hostId = "e423f012";
|
hostId = "e423f012";
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [ 53 80 443 7402 ];
|
allowedTCPPorts = [ 53 80 443 2222 7402 ];
|
||||||
allowedUDPPorts = [ 53 67 500 4500 ];
|
allowedUDPPorts = [ 53 67 500 4500 ];
|
||||||
trustedInterfaces = [ netifLan ];
|
trustedInterfaces = [ netifLan ];
|
||||||
};
|
};
|
||||||
@ -750,6 +750,10 @@ in
|
|||||||
server = {
|
server = {
|
||||||
ROOT_URL = "https://git.m-labs.hk/";
|
ROOT_URL = "https://git.m-labs.hk/";
|
||||||
HTTP_PORT = 3001;
|
HTTP_PORT = 3001;
|
||||||
|
DISABLE_SSH = false;
|
||||||
|
SSH_CREATE_AUTHORIZED_KEYS_FILE = false;
|
||||||
|
START_SSH_SERVER = true;
|
||||||
|
SSH_PORT = 2222;
|
||||||
};
|
};
|
||||||
|
|
||||||
indexer = {
|
indexer = {
|
||||||
|
Loading…
Reference in New Issue
Block a user