Skip to content

Commit

Permalink
Update cartodb.nginx.proxy.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Whong authored Nov 21, 2017
1 parent a2d7e47 commit 2731ec3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/cartodb.nginx.proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -52,4 +56,4 @@ server {

error_log /var/log/nginx/cartodb_error.log;
access_log /var/log/nginx/cartodb_access.log;
}
}

0 comments on commit 2731ec3

Please sign in to comment.