Code Review
/
dovetail-webportal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
83baa43
)
Enlarge the file size allowed to be uploaded
69/60769/1
author
xudan
<xudan16@huawei.com>
Thu, 9 Aug 2018 11:21:46 +0000
(07:21 -0400)
committer
xudan
<xudan16@huawei.com>
Thu, 9 Aug 2018 11:21:46 +0000
(07:21 -0400)
It will failed to upload the results file.
Error code "413 (Request Entity Too Large)"
Enlarge it to be 20M.
Change-Id: Ia1f1d8aa4c104acdffdfd1ff60325631209a2618
Signed-off-by: xudan <xudan16@huawei.com>
docker/nginx/sites-enabled/default
patch
|
blob
|
history
diff --git
a/docker/nginx/sites-enabled/default
b/docker/nginx/sites-enabled/default
index
e2e718c
..
aa81bd4
100644
(file)
--- a/
docker/nginx/sites-enabled/default
+++ b/
docker/nginx/sites-enabled/default
@@
-96,6
+96,7
@@
server {
}
location ~* /api/v1/results/([a-zA-Z0-9]+) {
+ client_max_body_size 20m;
proxy_pass http://cvpapi/api/v1/results/$1;
proxy_set_header X-Real_IP $remote_addr;
proxy_set_header Host $host;