From 394b5e50706b9325d38872f631ac7bdd83f60ce7 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Wed, 8 Dec 2021 16:47:11 +0100 Subject: [PATCH] gitea ssh listen with sshd, lfs enabled --- hosts/architect/gitea.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hosts/architect/gitea.nix b/hosts/architect/gitea.nix index 1935796..68567c3 100644 --- a/hosts/architect/gitea.nix +++ b/hosts/architect/gitea.nix @@ -5,9 +5,8 @@ with import ./network.nix; { domain = "git.giugl.io"; appName = "Gitea"; rootUrl = "https://git.giugl.io"; - ssh.clonePort = 10022; - log.level = "Info"; - settings.server.START_SSH_SERVER = true; + ssh.clonePort = 22; + settings.server.LFS_START_SERVER = true; }; services.nginx.virtualHosts.${gitdomain} = { @@ -16,12 +15,12 @@ with import ./network.nix; { locations."/" = { proxyPass = "http://localhost:3000"; extraConfig = '' - allow 127.0.0.1; - allow 10.0.0.0/24; - allow 10.3.0.0/24; - allow 10.4.0.0/24; - deny all; - ''; + allow 127.0.0.1; + allow 10.0.0.0/24; + allow 10.3.0.0/24; + allow 10.4.0.0/24; + deny all; + ''; }; }; @@ -29,4 +28,5 @@ with import ./network.nix; { ${architect-lan} ${gitdomain} ${architect-wg} ${gitdomain} ''; + }