HAProxy:修订间差异
跳到导航
跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
(创建页面,内容为“== 範例 == <pre># # Ref: http://haproxy.1wt.eu/download/1.2/doc/haproxy-en.txt # global maxconn 32768 user nobody group…”) |
(→外部連結) |
||
第44行: | 第44行: | ||
== 外部連結 == | == 外部連結 == | ||
* {{ | * {{Official|http://www.haproxy.org/}} | ||
[[Category:軟體]] | [[Category:軟體]] |
2018年2月28日 (三) 02:14的最新版本
范例
# # Ref: http://haproxy.1wt.eu/download/1.2/doc/haproxy-en.txt # global maxconn 32768 user nobody group nobody daemon nbproc 8 listen blog-balancer bind 1.2.3.4:80 mode http balance roundrobin maxconn 32768 clitimeout 60000 srvtimeout 60000 contimeout 5000 retries 3 server blog1 192.168.1.1:80 weight 3 check server blog2 192.168.1.2:80 weight 3 check option httpchk GET /robots.txt option forwardfor option httpclose redispatch listen www-balancer bind 1.2.3.5:80 mode http balance roundrobin maxconn 32768 clitimeout 60000 srvtimeout 60000 contimeout 5000 retries 3 server www1 192.168.1.3:80 weight 3 check server www2 192.168.1.4:80 weight 3 check option httpchk GET /robots.txt option forwardfor option httpclose option redispatch