19126: update documentation to reflect nginx proxy configuration for
authorWard Vandewege <ward@curii.com>
Wed, 11 May 2022 18:44:08 +0000 (14:44 -0400)
committerWard Vandewege <ward@curii.com>
Wed, 11 May 2022 18:44:08 +0000 (14:44 -0400)
       controller.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

doc/admin/config-urls.html.textile.liquid
doc/admin/upgrading.html.textile.liquid
doc/install/install-api-server.html.textile.liquid

index 1358fd81e1728a5de164cdb433274b6703a0fd95..8347d740de98b42504fd18afb463cc5e425f4072 100644 (file)
@@ -255,10 +255,12 @@ server {
   client_max_body_size 128m;
 
   location / {
-    proxy_pass            http://controller;
-    proxy_redirect        off;
-    proxy_connect_timeout 90s;
-    proxy_read_timeout    300s;
+    proxy_pass               http://controller;
+    proxy_redirect           off;
+    proxy_connect_timeout    90s;
+    proxy_read_timeout       300s;
+    proxy_request_buffering  off;
+    proxy_max_temp_file_size 0;
 
     proxy_set_header      Host              $http_host;
     proxy_set_header      Upgrade           $http_upgrade;
index 227a8cf07bd8945c0e442b864821c67d4a1b5424..314536bdbf135ac333f2b7b25a847f32c1c0424f 100644 (file)
@@ -32,6 +32,17 @@ h2(#main). development main (as of 2022-04-08)
 
 "previous: Upgrading to 2.4.0":#v2_4_0
 
+h3. New proxy parameters for arvados-controller
+
+We now recommend disabling nginx proxy caching for arvados-controller, to avoid truncation of large responses.
+
+In your Nginx configuration file (@/etc/nginx/conf.d/arvados-api-and-controller.conf@), add the following lines to the @location /@ block with @http://controller@ (see "Update nginx configuration":{{site.baseurl}}/install/install-api-server.html#update-nginx for an example) and reload/restart Nginx (@sudo nginx -s reload@).
+
+<pre>
+    proxy_request_buffering  off;
+    proxy_max_temp_file_size 0;
+</pre>
+
 h3. Now recommending Singularity 3.9.9
 
 The compute image "build script":{{site.baseurl}}/install/crunch2-cloud/install-compute-node.html now installs Singularity 3.9.9 instead of 3.7.4. The newer version includes a bugfix that should resolve "intermittent loopback device errors":https://dev.arvados.org/issues/18489 when running containers.
index 6c3eabba4f063e942f7dffba99bfa296dc258a58..66a2a33c9defedd8f97034b7d8b5a9256e076983 100644 (file)
@@ -148,10 +148,12 @@ server {
   client_max_body_size 128m;
 
   location / {
-    proxy_pass            http://controller;
-    proxy_redirect        off;
-    proxy_connect_timeout 90s;
-    proxy_read_timeout    300s;
+    proxy_pass               http://controller;
+    proxy_redirect           off;
+    proxy_connect_timeout    90s;
+    proxy_read_timeout       300s;
+    proxy_request_buffering  off;
+    proxy_max_temp_file_size 0;
 
     proxy_set_header      Host              $http_host;
     proxy_set_header      Upgrade           $http_upgrade;