From 1c213a9ad8dbd59505febfe751c4b3bbbdf2fd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 14 Feb 2019 09:47:27 +0100 Subject: [PATCH] Fix max body size When we push a big git fragement by https nginx refuse the request --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 36617de..aaa990e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,8 +4,8 @@ location __PATH__/ { proxy_set_header Host $host; proxy_buffering off; fastcgi_param REMOTE_USER $remote_user; - client_max_body_size 50M; - + client_max_body_size 200M; + # Force https if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent;