From 06e8e67d105f5d9473371765cd7146c7ac15262e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 22 Jul 2019 19:34:07 +0800 Subject: [PATCH] nixbld: increase max push size for HTTPS gitea --- nixbld-etc-nixos/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 2630be9..e6d0dce 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -327,6 +327,9 @@ ACTION=="add", SUBSYSTEM=="tty", \ forceSSL = true; useACMEHost = "nixbld.m-labs.hk"; locations."/".proxyPass = "http://127.0.0.1:3001"; + extraConfig = '' + client_max_body_size 300M; + ''; }; "chat.m-labs.hk" = { forceSSL = true;