From b811d10f95a921c048a1d1fd805de2e7e59c9b53 Mon Sep 17 00:00:00 2001 From: Dima Ovcharenko Date: Sun, 20 Dec 2020 22:53:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83,=20=D1=83=D0=B2?= =?UTF-8?q?=D0=B5=D0=BB=D0=B8=D1=87=D0=B8=D0=BB=20=D0=BC=D0=B0=D0=BA=D1=81?= =?UTF-8?q?=D0=B8=D0=BC=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D0=BC=D0=B5=D1=80=20=D1=82=D0=B5=D0=BB=D0=B0=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf.d/crserver-filter.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf.d/crserver-filter.conf b/conf.d/crserver-filter.conf index 8bb5da6..73948d4 100644 --- a/conf.d/crserver-filter.conf +++ b/conf.d/crserver-filter.conf @@ -20,8 +20,8 @@ server { # значения этих параметров ОБЯЗАТЕЛЬНО должны быть одинаковыми # https://github.com/openresty/lua-nginx-module#lua_need_request_body - client_body_buffer_size 200M; - client_max_body_size 200M; + client_body_buffer_size 2048m; + client_max_body_size 2048m; rewrite_by_lua_block { @@ -34,7 +34,7 @@ server { local commentPattern = [[(.*)]] local message - if req:match([[DevDepot_commitObjects]] ~= nil) then + if req:match([[DevDepot_commitObjects]]) ~= nil then message = req:match(commentPattern) -- комментарий хранилища elseif req:match([[DevDepot_changeVersion]]) ~= nil then local newVersion = req:match([[(.*)]])