Move git to self-hosted hardware

This commit is contained in:
Greg Hellings
2023-12-19 19:07:02 +00:00
parent 466ffbe852
commit 7cbd9491d2
3 changed files with 25 additions and 127 deletions
+7 -1
View File
@@ -14,7 +14,7 @@ let
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
'';
'' + dest.extraConfig;
};
serverAliases = lib.mkIf dest.genAliases [ "${alias name}" ];
};
@@ -63,6 +63,12 @@ in with lib; {
description = "The path prefix for this proxy";
default = "/";
};
extraConfig = mkOption {
type = types.str;
description = "Extra nginx config options";
default = "";
};
};
}));
};