mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-11 04:10:17 +01:00
af427cad37
- Add 'iface' group variable to specify the network interface on which the systems should listen. - Add a couple of missing playbook inclusions - Set up EPEL on all hosts for socat and haproxy
18 lines
476 B
Text
18 lines
476 B
Text
---
|
|
# File for the HAproxy configuration
|
|
|
|
# Supports http and tcp, for ssl smtp etc.. use tcp
|
|
mode: http
|
|
|
|
# port on which the lb should listen
|
|
listenport: 8888
|
|
|
|
# A name for the proxy daemon, this would be the suffix in the logs.
|
|
daemonname: myapplb
|
|
|
|
# Balancing Algorithm Avalilable options: roundrobin,source,leastconn,source,uri
|
|
# (if persistance is required use source)
|
|
balance: roundrobin
|
|
|
|
# Which Ethernet interface on which the load balancer should listen
|
|
iface: eth0
|