error: curl:(22) The requested URL returned error: 413 Request Entity Too Large
Our biggest cgz file is 656M now, so i set client_max_body_size to 700m.
/srv/initrd/pkg% find ./ -size +100M |xargs ls -alhS -rw-r--r--. 1 lkp lkp 656M Nov 4 17:52 ./nfs/openeuler/aarch64/20.03/ycsb/0.15.0-0.cgz
/srv/initrd/build-pkg% find ./ -size +100M |xargs ls -alhS -rw-rw-rw-. 1 lkp lkp 383M Aug 29 04:36 ./quake2world-data-git/HEAD.cgz
Signed-off-by: Lin Jiaxin ljx.joe@qq.com --- container/result-webdav/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/result-webdav/nginx.conf b/container/result-webdav/nginx.conf index 98382bd..1ccaa92 100644 --- a/container/result-webdav/nginx.conf +++ b/container/result-webdav/nginx.conf @@ -12,7 +12,7 @@ http { listen 3080; server_name "result-webdav"; server_tokens off; - client_max_body_size 100m; + client_max_body_size 700m; access_log /tmp/access.log; error_log /tmp/error.log;
Reviewed-by: Liu Yinsi liuyinsi@163.com
On Wed, Dec 09, 2020 at 11:00:19AM +0800, Lin Jiaxin wrote:
error: curl:(22) The requested URL returned error: 413 Request Entity Too Large
Our biggest cgz file is 656M now, so i set client_max_body_size to 700m.
/srv/initrd/pkg% find ./ -size +100M |xargs ls -alhS -rw-r--r--. 1 lkp lkp 656M Nov 4 17:52 ./nfs/openeuler/aarch64/20.03/ycsb/0.15.0-0.cgz
/srv/initrd/build-pkg% find ./ -size +100M |xargs ls -alhS -rw-rw-rw-. 1 lkp lkp 383M Aug 29 04:36 ./quake2world-data-git/HEAD.cgz
Signed-off-by: Lin Jiaxin ljx.joe@qq.com
container/result-webdav/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/result-webdav/nginx.conf b/container/result-webdav/nginx.conf index 98382bd..1ccaa92 100644 --- a/container/result-webdav/nginx.conf +++ b/container/result-webdav/nginx.conf @@ -12,7 +12,7 @@ http { listen 3080; server_name "result-webdav"; server_tokens off;
- client_max_body_size 100m;
- client_max_body_size 700m; access_log /tmp/access.log; error_log /tmp/error.log;
-- 2.23.0
Reviewed-by: Wang Chenglong 18509160991@163.com
On Wed, Dec 09, 2020 at 11:00:19AM +0800, Lin Jiaxin wrote:
error: curl:(22) The requested URL returned error: 413 Request Entity Too Large
Our biggest cgz file is 656M now, so i set client_max_body_size to 700m.
/srv/initrd/pkg% find ./ -size +100M |xargs ls -alhS -rw-r--r--. 1 lkp lkp 656M Nov 4 17:52 ./nfs/openeuler/aarch64/20.03/ycsb/0.15.0-0.cgz
/srv/initrd/build-pkg% find ./ -size +100M |xargs ls -alhS -rw-rw-rw-. 1 lkp lkp 383M Aug 29 04:36 ./quake2world-data-git/HEAD.cgz
Signed-off-by: Lin Jiaxin ljx.joe@qq.com
container/result-webdav/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/result-webdav/nginx.conf b/container/result-webdav/nginx.conf index 98382bd..1ccaa92 100644 --- a/container/result-webdav/nginx.conf +++ b/container/result-webdav/nginx.conf @@ -12,7 +12,7 @@ http { listen 3080; server_name "result-webdav"; server_tokens off;
- client_max_body_size 100m;
- client_max_body_size 700m; access_log /tmp/access.log; error_log /tmp/error.log;
-- 2.23.0