From f247d9d96e6bd79d006a24b2c69a5120251c895a Mon Sep 17 00:00:00 2001 From: huangjian Date: Sun, 30 Oct 2016 18:05:23 +0800 Subject: Set send/read timeout 300s Change-Id: I1a02dd8740bd59dfc7443bfc2c76f8bf5c533099 Issue-id: OCS-138 Signed-off-by: huangjian --- .../src/assembly/resources/openresty/nginx/conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'msb-core') diff --git a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf index ea434b7..fcbf8ee 100644 --- a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf +++ b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf @@ -41,8 +41,8 @@ http { #set the time wait for connect to proxy_pass target,avoid waiting too long proxy_connect_timeout 10s; - proxy_read_timeout 120s; - proxy_send_timeout 120s; + proxy_read_timeout 300s; + proxy_send_timeout 300s; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; -- cgit 1.2.3-korg