From: Brett Smith Date: Fri, 7 Aug 2015 12:50:48 +0000 (-0400) Subject: Add client_max_body_size to Nginx install configurations. X-Git-Tag: 1.1.0~1417 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/06f774bc61654ea0bb6ddd7b9f61bde1dd56b884 Add client_max_body_size to Nginx install configurations. Nginx's default value for this setting is 1m, so adjusting it is all but required to do useful work. No issue #. --- diff --git a/doc/install/install-api-server.html.textile.liquid b/doc/install/install-api-server.html.textile.liquid index 78c832ff5c..1c5f04fe34 100644 --- a/doc/install/install-api-server.html.textile.liquid +++ b/doc/install/install-api-server.html.textile.liquid @@ -284,6 +284,12 @@ server { index index.html index.htm index.php; + # This value effectively limits the size of API objects users can create, + # especially collections. If you change this, you should also set + # `max_request_size` in the API server's application.yml file to the same + # value. + client_max_body_size 128m; + location / { proxy_pass http://api; proxy_redirect off; diff --git a/doc/install/install-keepproxy.html.textile.liquid b/doc/install/install-keepproxy.html.textile.liquid index 04dc9fd4a1..bbbec23626 100644 --- a/doc/install/install-keepproxy.html.textile.liquid +++ b/doc/install/install-keepproxy.html.textile.liquid @@ -71,6 +71,8 @@ If possible, the proxy should be configured to add CORS headers to its own error
 server {
   server_name keep.example.com
+  # Clients need to be able to upload blocks of data up to 64MiB in size.
+  client_max_body_size 70m;
   ...
   add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, PUT, OPTIONS' always
   add_header 'Access-Control-Allow-Origin' '*' always
diff --git a/doc/install/install-workbench-app.html.textile.liquid b/doc/install/install-workbench-app.html.textile.liquid
index 491f8c8245..b478286c9f 100644
--- a/doc/install/install-workbench-app.html.textile.liquid
+++ b/doc/install/install-workbench-app.html.textile.liquid
@@ -143,6 +143,7 @@ server {
   ssl_certificate_key /YOUR/PATH/TO/cert.key;
 
   index  index.html index.htm index.php;
+  client_max_body_size 128m;
 
   location / {
     proxy_pass            http://workbench;