Fix ssh for forgejo
This commit is contained in:
parent
587ea99786
commit
b3cab04f1d
2 changed files with 4 additions and 2 deletions
|
@ -3,5 +3,5 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
email = "henry@henryhiles.com";
|
email = "henry@henryhiles.com";
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [2200 443];
|
networking.firewall.allowedTCPPorts = [2222 443];
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
ROOT_URL = "https://${domain}";
|
ROOT_URL = "https://${domain}";
|
||||||
HTTP_ADDR = socket;
|
HTTP_ADDR = socket;
|
||||||
PROTOCOL = "http+unix";
|
PROTOCOL = "http+unix";
|
||||||
SSH_LISTEN_PORT = 2200;
|
START_SSH_SERVER = true;
|
||||||
|
SSH_LISTEN_PORT = 2222;
|
||||||
|
BUILTIN_SSH_SERVER_USER = "git";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue