ソースを参照

更新 'haproxy.cfg'

胡增文 1 年間 前
コミット
5330c26523
1 ファイル変更3 行追加2 行削除
  1. 3 2
      haproxy.cfg

+ 3 - 2
haproxy.cfg

@@ -10,9 +10,9 @@ defaults
     timeout http-keep-alive 1s # 1 second max for the client to post next request
     timeout http-request 15s   # 15 seconds max for the client to send a request
     timeout queue 30s          # 30 seconds max queued on load balancer
-    timeout client 30s  # 客户端超时时间设置为30秒,你可以根据需要调整这个值
+    timeout client 300s  # 客户端超时时间设置为30秒,你可以根据需要调整这个值
     timeout connect 10s # 连接超时时间设置为10秒,你也可以根据需要调整
-    timeout server 30s  # 服务端超时时间设置为30秒,根据需要调整
+    timeout server 300s  # 服务端超时时间设置为30秒,根据需要调整
     backlog 10000              # Size of SYN backlog queue
 
 frontend ftp_fe
@@ -42,5 +42,6 @@ listen car_plate
 
 listen cops
     bind *:10166
+    option http-server-close
     mode tcp
     server scops cops.uniquecharge.cn:2526 check