「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