From af7cc0e6d1bc0819be9146b4b42235207e0426c3 Mon Sep 17 00:00:00 2001 From: Lei YU Date: Wed, 23 May 2018 14:36:00 +0800 Subject: nginx.conf: increase client_max_body_size To support fixed flash layout that contains 32MiB image, manifest, publickey and signatures, increase client_max_body_size to 33MiB. Change-Id: Ibc5ecfd907a2fe796e4767ecfdec2ea7bb1543b1 Signed-off-by: Lei YU --- .../meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-openbmc-machines') diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf index 8cf8c0d96..a626e4ad3 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf @@ -77,9 +77,9 @@ http { proxy_set_header Connection "upgrade"; } location ~ (/org/openbmc/control/flash/bmc/action/update|/upload/image|/download/dump) { - # Marked as 32MB to allow for firmware image updating and dump + # Marked as 33MB to allow for firmware image updating and dump # downloads - client_max_body_size 32M; + client_max_body_size 33M; # Only 1 connection at a time here from an IP limit_conn addr 1; -- cgit v1.2.3