services: gitea use system ssh
This commit is contained in:
parent
cbc20ba224
commit
e44ba26ccb
@ -23,11 +23,7 @@
|
|||||||
mailerPasswordFile = config.age.secrets."services/gitea/mailerPassword".path;
|
mailerPasswordFile = config.age.secrets."services/gitea/mailerPassword".path;
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
START_SSH_SERVER = true;
|
SSH_PORT = 2220;
|
||||||
SSH_PORT = 2222;
|
|
||||||
# SSH_SERVER_CIPHERS = "";
|
|
||||||
# SSH_SERVER_KEY_EXCHANGES = "";
|
|
||||||
# SSH_SERVER_MACS = "";
|
|
||||||
ENABLE_GZIP = true;
|
ENABLE_GZIP = true;
|
||||||
};
|
};
|
||||||
security = {
|
security = {
|
||||||
@ -68,12 +64,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
|
||||||
interfaces.ens18 = {
|
|
||||||
allowedTCPPorts = [ 2222 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user