Set send/read timeout 300s
authorhuangjian <huang.jian12@zte.com.cn>
Sun, 30 Oct 2016 10:05:23 +0000 (18:05 +0800)
committerhuangjian <huang.jian12@zte.com.cn>
Sun, 30 Oct 2016 10:05:23 +0000 (18:05 +0800)
Change-Id: I1a02dd8740bd59dfc7443bfc2c76f8bf5c533099
Issue-id: OCS-138
Signed-off-by: huangjian <huang.jian12@zte.com.cn>
msb-core/openresty-ext/src/assembly/resources/openresty/nginx/conf/nginx.conf

index ea434b7..fcbf8ee 100644 (file)
@@ -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;