Spaces:
Running
Running
rogerxavier
commited on
Update nginx.conf
Browse files- nginx.conf +7 -0
nginx.conf
CHANGED
@@ -5,6 +5,13 @@ events {
|
|
5 |
}
|
6 |
|
7 |
http {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
server {
|
9 |
listen 7860;
|
10 |
server_name localhost;
|
|
|
5 |
}
|
6 |
|
7 |
http {
|
8 |
+
|
9 |
+
# 全局超时设置
|
10 |
+
proxy_connect_timeout 60s; # 连接超时
|
11 |
+
proxy_read_timeout 60s; # 读取超时
|
12 |
+
proxy_send_timeout 60s; # 发送超时
|
13 |
+
|
14 |
+
|
15 |
server {
|
16 |
listen 7860;
|
17 |
server_name localhost;
|