docker: Increase nginx max upload size

It's likely an image manifest tarball will be more than 1mb in size;
increase it to 16mb to handle where a large number of patches are
included in an image containing a lot of packages from different
recipes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2019-03-13 09:10:56 +13:00
parent 348bd2661c
commit 7e99440afd
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ http {
default_type application/octet-stream;
access_log /dev/stdout combined;
sendfile on;
client_max_body_size 1m;
client_max_body_size 16m;
large_client_header_buffers 4 2k;
limit_req_zone $binary_remote_addr zone=login_ip:10m rate=30r/m;

View File

@ -23,7 +23,7 @@ http {
server {
listen 80 default;
client_max_body_size 1m;
client_max_body_size 16m;
server_name _;
keepalive_timeout 20;