Browse Source

支持6网段的映射

jaikuai 6 months ago
parent
commit
45e9093295
1 changed files with 4 additions and 1 deletions
  1. 4 1
      haproxy.cfg

+ 4 - 1
haproxy.cfg

@@ -75,17 +75,20 @@ listen nvr
     bind *:200
     mode http
     server s1 192.168.3.200:80 check
+    server s2 192.168.6.200:80 check
 
 listen rtsp
     bind *:554
     mode tcp
     server s1 192.168.3.200:554 check
+    server s2 192.168.6.200:554 check
 
 
 listen car_plate
     bind *:98
     mode http
-    server s98 192.168.3.98:80 check
+    server s1 192.168.3.98:80 check
+    server s2 192.168.6.98:80 check
 
 listen cops
     bind *:10166