diff options
author | Lei YU <mine260309@gmail.com> | 2018-05-23 09:36:00 +0300 |
---|---|---|
committer | Lei YU <mine260309@gmail.com> | 2018-05-30 05:13:47 +0300 |
commit | af7cc0e6d1bc0819be9146b4b42235207e0426c3 (patch) | |
tree | e4db0de6df0dd4cd71ef8cb5d075f73983b35314 | |
parent | a8006e428c70d6c66289404881663104b928808c (diff) | |
download | openbmc-af7cc0e6d1bc0819be9146b4b42235207e0426c3.tar.xz |
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 <mine260309@gmail.com>
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/recipes-httpd/nginx/files/nginx.conf | 4 |
1 files changed, 2 insertions, 2 deletions
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; |