6591: Suggest proxy timeouts in install doc Nginx configs.
[arvados.git] / doc / install / install-api-server.html.textile.liquid
index 2fbea090c09df11943f4970a68bcd5748b373ada..8625e7f54efaa0d1dc42676012b6543d12dc52cc 100644 (file)
@@ -283,6 +283,8 @@ server {
   location / {
     proxy_pass            http://api;
     proxy_redirect        off;
+    proxy_connect_timeout 90s;
+    proxy_read_timeout    300s;
 
     proxy_set_header      X-Forwarded-Proto https;
     proxy_set_header      Host $http_host;
@@ -303,6 +305,8 @@ server {
   location / {
     proxy_pass            http://websockets;
     proxy_redirect        off;
+    proxy_connect_timeout 90s;
+    proxy_read_timeout    300s;
 
     proxy_set_header      Upgrade $http_upgrade;
     proxy_set_header      Connection "upgrade";