@dazhicheng/common 1.0.42 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nginx_dev.conf +5 -0
- package/nginx_test.conf +5 -0
- package/package.json +1 -1
package/nginx_dev.conf
CHANGED
|
@@ -69,6 +69,11 @@ server {
|
|
|
69
69
|
proxy_set_header X-Real-Ip $remote_addr;
|
|
70
70
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
71
71
|
|
|
72
|
+
# 与前端 TtHttp REQUEST_TIMEOUT 对齐:10 分钟
|
|
73
|
+
proxy_connect_timeout 600s;
|
|
74
|
+
proxy_send_timeout 600s;
|
|
75
|
+
proxy_read_timeout 600s;
|
|
76
|
+
|
|
72
77
|
rewrite ^/dev-api/(.*) /$1 break;
|
|
73
78
|
proxy_pass http://$dev_backend_addr;
|
|
74
79
|
}
|
package/nginx_test.conf
CHANGED
|
@@ -70,6 +70,11 @@ server {
|
|
|
70
70
|
proxy_set_header X-Real-Ip $remote_addr;
|
|
71
71
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
72
72
|
|
|
73
|
+
# 与前端 TtHttp REQUEST_TIMEOUT 对齐:10 分钟
|
|
74
|
+
proxy_connect_timeout 600s;
|
|
75
|
+
proxy_send_timeout 600s;
|
|
76
|
+
proxy_read_timeout 600s;
|
|
77
|
+
|
|
73
78
|
rewrite ^/test-api/(.*) /$1 break;
|
|
74
79
|
proxy_pass http://$test_backend_addr;
|
|
75
80
|
}
|