forked from CCCHH/nix-infra
Fix container registry image uploads for git server
Do this by disabling checking of client request body size.
This commit is contained in:
parent
59b540c9e3
commit
a2102b064f
|
@ -34,6 +34,10 @@
|
||||||
return = "200 \"User-agent: *\\nDisallow: /*/*/archive/\\n\"";
|
return = "200 \"User-agent: *\\nDisallow: /*/*/archive/\\n\"";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Disable checking of client request body size to make container registry
|
||||||
|
# image uploads work.
|
||||||
|
clientMaxBodySize = "0";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
Loading…
Reference in a new issue