19126: disable all nginx proxy caching for controller.
authorWard Vandewege <ward@curii.com>
Fri, 13 May 2022 11:57:00 +0000 (07:57 -0400)
committerWard Vandewege <ward@curii.com>
Fri, 13 May 2022 11:57:00 +0000 (07:57 -0400)
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 8347d740de98b42504fd18afb463cc5e425f4072..e518ea1bf7c11c8791e0aff4c6c220a34c39735f 100644 (file)
@@ -259,8 +259,10 @@ server {
     proxy_redirect           off;
     proxy_connect_timeout    90s;
     proxy_read_timeout       300s;
-    proxy_request_buffering  off;
     proxy_max_temp_file_size 0;
+    proxy_request_buffering  off;
+    proxy_buffering          off;
+    proxy_http_version       1.1;
 
     proxy_set_header      Host              $http_host;
     proxy_set_header      Upgrade           $http_upgrade;
index 314536bdbf135ac333f2b7b25a847f32c1c0424f..193037f4cff9eb5d31be0fafe7afe8ed0a1a898f 100644 (file)
@@ -39,8 +39,10 @@ We now recommend disabling nginx proxy caching for arvados-controller, to avoid
 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;
+    proxy_request_buffering  off;
+    proxy_buffering          off;
+    proxy_http_version       1.1;
 </pre>
 
 h3. Now recommending Singularity 3.9.9
index 66a2a33c9defedd8f97034b7d8b5a9256e076983..4c9f168e825946bc0b63a86932f844218ab3819b 100644 (file)
@@ -152,8 +152,10 @@ server {
     proxy_redirect           off;
     proxy_connect_timeout    90s;
     proxy_read_timeout       300s;
-    proxy_request_buffering  off;
     proxy_max_temp_file_size 0;
+    proxy_request_buffering  off;
+    proxy_buffering          off;
+    proxy_http_version       1.1;
 
     proxy_set_header      Host              $http_host;
     proxy_set_header      Upgrade           $http_upgrade;