Spaces:
Paused
Paused
Update nginx.conf
Browse files- nginx.conf +4 -0
nginx.conf
CHANGED
|
@@ -56,6 +56,10 @@ http {
|
|
| 56 |
proxy_set_header Upgrade $http_upgrade;
|
| 57 |
proxy_set_header Connection "upgrade";
|
| 58 |
proxy_set_header Host $host;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
}
|
| 60 |
}
|
| 61 |
}
|
|
|
|
| 56 |
proxy_set_header Upgrade $http_upgrade;
|
| 57 |
proxy_set_header Connection "upgrade";
|
| 58 |
proxy_set_header Host $host;
|
| 59 |
+
# 防止因长时间不操作导致的连接断开
|
| 60 |
+
proxy_connect_timeout 7d;
|
| 61 |
+
proxy_send_timeout 7d;
|
| 62 |
+
proxy_read_timeout 7d;
|
| 63 |
}
|
| 64 |
}
|
| 65 |
}
|