[ARVADOS] created: 1.2.0-424-gf11d620f0

Git user git at public.curoverse.com
Wed Nov 21 14:15:02 EST 2018


        at  f11d620f06a284e47b12d1413bf9805ae5b488e1 (commit)


commit f11d620f06a284e47b12d1413bf9805ae5b488e1
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Wed Nov 21 14:14:04 2018 -0500

    14345: Disable Nginx proxy request buffering for keep-web requests.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/doc/install/install-keep-web.html.textile.liquid b/doc/install/install-keep-web.html.textile.liquid
index 4def77e06..fdbce337c 100644
--- a/doc/install/install-keep-web.html.textile.liquid
+++ b/doc/install/install-keep-web.html.textile.liquid
@@ -112,6 +112,10 @@ server {
     proxy_pass          http://keep-web;
     proxy_set_header    Host            $host;
     proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
+
+    client_max_body_size 0;
+    proxy_http_version 1.1;
+    proxy_request_buffering off;
   }
 }
 </pre></notextile>
diff --git a/sdk/python/tests/nginx.conf b/sdk/python/tests/nginx.conf
index c21ef95f2..130d8c964 100644
--- a/sdk/python/tests/nginx.conf
+++ b/sdk/python/tests/nginx.conf
@@ -42,6 +42,9 @@ http {
       proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
       proxy_set_header X-Forwarded-Proto https;
       proxy_redirect off;
+
+      proxy_http_version 1.1;
+      proxy_request_buffering off;
     }
   }
   upstream keep-web {
@@ -58,6 +61,10 @@ http {
       proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
       proxy_set_header X-Forwarded-Proto https;
       proxy_redirect off;
+
+      client_max_body_size 0;
+      proxy_http_version 1.1;
+      proxy_request_buffering off;
     }
   }
   server {
@@ -70,6 +77,10 @@ http {
       proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
       proxy_set_header X-Forwarded-Proto https;
 
+      client_max_body_size 0;
+      proxy_http_version 1.1;
+      proxy_request_buffering off;
+
       # Unlike other proxy sections, here we need to override the
       # requested Host header and use proxy_redirect because of the
       # way the test suite orchestrates services. Keep-web's "download

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list