Spaces:
Sleeping
Sleeping
Update nginx.conf
Browse files- nginx.conf +4 -4
nginx.conf
CHANGED
|
@@ -19,7 +19,7 @@ http {
|
|
| 19 |
|
| 20 |
|
| 21 |
# 连接超时设置
|
| 22 |
-
keepalive_timeout
|
| 23 |
keepalive_requests 100;
|
| 24 |
|
| 25 |
# 压缩设置
|
|
@@ -74,9 +74,9 @@ http {
|
|
| 74 |
# 代理优化
|
| 75 |
proxy_buffering off;
|
| 76 |
proxy_cache off;
|
| 77 |
-
proxy_connect_timeout
|
| 78 |
-
proxy_send_timeout
|
| 79 |
-
proxy_read_timeout
|
| 80 |
error_page 503 =429 /429.html;
|
| 81 |
}
|
| 82 |
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
# 连接超时设置
|
| 22 |
+
keepalive_timeout 120;
|
| 23 |
keepalive_requests 100;
|
| 24 |
|
| 25 |
# 压缩设置
|
|
|
|
| 74 |
# 代理优化
|
| 75 |
proxy_buffering off;
|
| 76 |
proxy_cache off;
|
| 77 |
+
proxy_connect_timeout 120s;
|
| 78 |
+
proxy_send_timeout 120s;
|
| 79 |
+
proxy_read_timeout 120s;
|
| 80 |
error_page 503 =429 /429.html;
|
| 81 |
}
|
| 82 |
|