|
@@ -23,12 +23,25 @@ frontend ftp_fe
|
|
|
log global
|
|
|
default_backend ftp_be21
|
|
|
|
|
|
+frontend web
|
|
|
+ mode http
|
|
|
+ option accept-invalid-http-request
|
|
|
+ bind 0.0.0.0:443
|
|
|
+ default_backend open_baidu
|
|
|
+
|
|
|
backend ftp_be21
|
|
|
balance leastconn
|
|
|
stick on src
|
|
|
stick-table type ip size 100k expire 1h
|
|
|
server ftp-server1 47.98.251.134 check port 21
|
|
|
|
|
|
+backend open_baidu
|
|
|
+ mode http
|
|
|
+ option forwardfor header X-Real-IP
|
|
|
+ option http-server-close
|
|
|
+ server openbaidu openapi.baidu.com check port 443
|
|
|
+
|
|
|
+
|
|
|
listen nvr
|
|
|
bind *:200
|
|
|
mode http
|
|
@@ -50,3 +63,9 @@ listen cops
|
|
|
option http-server-close
|
|
|
mode tcp
|
|
|
server scops cops.uniquecharge.cn:2526 check
|
|
|
+
|
|
|
+listen registry
|
|
|
+ bind *:5000
|
|
|
+ option http-server-close
|
|
|
+ mode tcp
|
|
|
+ server zhl nas.fast-fun.cn:5000 check
|