From 2731ec38334313cf23165e86fa915a80ff1d688e Mon Sep 17 00:00:00 2001 From: Chris Whong Date: Tue, 21 Nov 2017 00:07:15 -0500 Subject: [PATCH] Update cartodb.nginx.proxy.conf --- config/cartodb.nginx.proxy.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/cartodb.nginx.proxy.conf b/config/cartodb.nginx.proxy.conf index f38bfd4..7ca2ad6 100644 --- a/config/cartodb.nginx.proxy.conf +++ b/config/cartodb.nginx.proxy.conf @@ -39,6 +39,10 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + + # Change default timeout for your long-running SQL api calls! + proxy_read_timeout 300s; + proxy_pass http://127.0.0.1:8080; } @@ -52,4 +56,4 @@ server { error_log /var/log/nginx/cartodb_error.log; access_log /var/log/nginx/cartodb_access.log; -} \ No newline at end of file +}