forgejo: update ssh port

This commit is contained in:
Tigor Hutasuhut 2024-06-13 19:24:46 +07:00
parent 6c09df8fa0
commit c8c1302885

View file

@ -15,7 +15,6 @@ in
settings = { settings = {
server = { server = {
PROTOCOL = "http+unix"; PROTOCOL = "http+unix";
SSH_PORT = 2222;
DOMAIN = "git.tigor.web.id"; DOMAIN = "git.tigor.web.id";
HTTP_PORT = 443; HTTP_PORT = 443;
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}:${toString config.services.forgejo.settings.server.HTTP_PORT}"; ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}:${toString config.services.forgejo.settings.server.HTTP_PORT}";
@ -26,7 +25,5 @@ in
session.COOKIE_SECURE = true; session.COOKIE_SECURE = true;
}; };
}; };
networking.firewall.allowedTCPPorts = [ config.services.forgejo.settings.server.SSH_PORT ];
}; };
} }