all repos — nixfiles @ 243ae981acf9d025d65eb01a24a5b1baf77e7a93

System and user configuration, managed by nix and home-manager

git-server: fix erroneous 411 responses
Alan Pearce alan@alanpearce.eu
Thu, 30 Jan 2025 13:31:34 +0100
commit

243ae981acf9d025d65eb01a24a5b1baf77e7a93

parent

2216893f83b2576f173638bb81e955f56103bf8c

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M system/settings/services/git-server.nixsystem/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}