git-server: fix erroneous 411 responses
Alan Pearce alan@alanpearce.eu
Thu, 30 Jan 2025 13:31:34 +0100
1 files changed, 1 insertions(+), 0 deletions(-)
M system/settings/services/git-server.nix → system/settings/services/git-server.nix
@@ -151,6 +151,7 @@ } @git_http_backend path_regexp "^.*/(HEAD|info/refs|objects/info/[^/]+|git-upload-pack)$" handle @git_http_backend { reverse_proxy ${fcgisocket} { + request_buffers 4k transport fastcgi { env SCRIPT_FILENAME ${pkgs.git}/libexec/git-core/git-http-backend env GIT_PROJECT_ROOT ${repos}