Merge pull request #1 from tgerla/master
Some various fixups and network interface handling.pull/63/head
commit
0e244cb8cf
@ -1,16 +1,18 @@ |
|||||||
--- |
--- |
||||||
# File for the HAproxy configuration |
# File for the HAproxy configuration |
||||||
|
|
||||||
#Supports http and tcp, for ssl smtp etc.. use tcp |
# Supports http and tcp, for ssl smtp etc.. use tcp |
||||||
mode: http |
mode: http |
||||||
|
|
||||||
#port on which the lb should listen |
# port on which the lb should listen |
||||||
listenport: 8888 |
listenport: 8888 |
||||||
|
|
||||||
#A name for the proxy daemon, this would be the suffix in the logs. |
# A name for the proxy daemon, this would be the suffix in the logs. |
||||||
daemonname: myapplb |
daemonname: myapplb |
||||||
|
|
||||||
#Balancing Algorithm Avalilable options: roundrobin,source,leastconn,source,uri |
# Balancing Algorithm Avalilable options: roundrobin,source,leastconn,source,uri |
||||||
#If persistance is required use source |
# (if persistance is required use source) |
||||||
balance: roundrobin |
balance: roundrobin |
||||||
|
|
||||||
|
# Which Ethernet interface on which the load balancer should listen |
||||||
|
iface: eth0 |
||||||
|
@ -0,0 +1,5 @@ |
|||||||
|
--- |
||||||
|
# File for the web server configuration |
||||||
|
|
||||||
|
# Which Ethernet interface on which the web server should listen |
||||||
|
iface: eth0 |
Reference in new issue