Skip to content

Commit af7d44a

Browse files
Update nginx.conf
1 parent 37dbfab commit af7d44a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

nginx.conf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ http {
2828
lua_package_path "/etc/nginx/lua/?.lua;;";
2929

3030
upstream backend_ai {
31-
server kole:8080 max_fails=3 fail_timeout=3600s;
31+
server kole:8080 max_fails=3 fail_timeout=36000s;
3232
}
3333

3434
upstream backend_billing {
@@ -94,6 +94,9 @@ http {
9494
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
9595
proxy_set_header X-Forwarded-Proto $scheme;
9696
proxy_buffering off;
97+
proxy_read_timeout 600s;
98+
proxy_connect_timeout 600s;
99+
proxy_send_timeout 600s;
97100
}
98101
}
99102

@@ -150,6 +153,10 @@ http {
150153
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
151154
proxy_set_header X-Forwarded-Proto $scheme;
152155
proxy_buffering off;
156+
proxy_read_timeout 600s;
157+
proxy_connect_timeout 600s;
158+
proxy_send_timeout 600s;
159+
153160
}
154161
}
155162

0 commit comments

Comments
 (0)