summaryrefslogtreecommitdiffstats
path: root/msb-core/openresty-ext
diff options
context:
space:
mode:
authorhuangjian <huang.jian12@zte.com.cn>2016-10-30 18:05:23 +0800
committerhuangjian <huang.jian12@zte.com.cn>2016-10-30 18:05:23 +0800
commitf247d9d96e6bd79d006a24b2c69a5120251c895a (patch)
tree036da5ccf237dfc767f5a5598f1fa7db2a6e0984 /msb-core/openresty-ext
parentf4c2150fd64f2722bbc16145cb554c88b9184afa (diff)
Set send/read timeout 300s
Change-Id: I1a02dd8740bd59dfc7443bfc2c76f8bf5c533099 Issue-id: OCS-138 Signed-off-by: huangjian <huang.jian12@zte.com.cn>
Diffstat (limited to 'msb-core/openresty-ext')
-rw-r--r--msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf4
1 files changed, 2 insertions, 2 deletions
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;