From abf5b4055497419bbab3a58a7724463fc92a8d76 Mon Sep 17 00:00:00 2001 From: James Walker Date: Sat, 21 Jan 2023 17:39:39 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20gitea=20proxy=20config=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.lock | 6 +++--- modules/gitea/nginx.nix | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 1b2b16b..44659ba 100644 --- a/flake.lock +++ b/flake.lock @@ -354,11 +354,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1674096995, - "narHash": "sha256-/vw7At/SztpZjTeM11foA7YdOFmdwSn+ARo8oy+mlUU=", + "lastModified": 1674236650, + "narHash": "sha256-B4GKL1YdJnII6DQNNJ4wDW1ySJVx2suB1h/v4Ql8J0Q=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "676c80dcc2f0ba780c8ab204f92c5abd69fa1245", + "rev": "cfb43ad7b941d9c3606fb35d91228da7ebddbfc5", "type": "github" }, "original": { diff --git a/modules/gitea/nginx.nix b/modules/gitea/nginx.nix index 3129348..2421abd 100644 --- a/modules/gitea/nginx.nix +++ b/modules/gitea/nginx.nix @@ -10,6 +10,9 @@ _: locations."/" = { proxyPass = "http://100.111.208.75:8003"; proxyWebsockets = true; + extraConfig = '' + client_max_body_size 0; + ''; }; }; };