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>
diff --git a/recipes-httpd/nginx/files/nginx.conf b/recipes-httpd/nginx/files/nginx.conf
index 8cf8c0d..a626e4a 100644
--- a/recipes-httpd/nginx/files/nginx.conf
+++ b/recipes-httpd/nginx/files/nginx.conf
@@ -77,9 +77,9 @@
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;