mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 21:24:46 +02:00
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:
parent
348bd2661c
commit
7e99440afd
|
@ -15,7 +15,7 @@ http {
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
access_log /dev/stdout combined;
|
access_log /dev/stdout combined;
|
||||||
sendfile on;
|
sendfile on;
|
||||||
client_max_body_size 1m;
|
client_max_body_size 16m;
|
||||||
large_client_header_buffers 4 2k;
|
large_client_header_buffers 4 2k;
|
||||||
|
|
||||||
limit_req_zone $binary_remote_addr zone=login_ip:10m rate=30r/m;
|
limit_req_zone $binary_remote_addr zone=login_ip:10m rate=30r/m;
|
||||||
|
|
|
@ -23,7 +23,7 @@ http {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 default;
|
listen 80 default;
|
||||||
client_max_body_size 1m;
|
client_max_body_size 16m;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
keepalive_timeout 20;
|
keepalive_timeout 20;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user