|
|
|
[main]
|
|
|
|
#Path to files destination
|
|
|
|
fullpath = /opt/haproxy/
|
|
|
|
server_bind_ip = 0.0.0.0
|
|
|
|
server_port = 8000
|
|
|
|
#Log for server.py
|
|
|
|
log_path = %(fullpath)s/log/
|
|
|
|
time_zone = UTC
|
|
|
|
<<<<<<< HEAD
|
|
|
|
#Enable logo on top menu. Default disable
|
|
|
|
logo_enable = 0
|
|
|
|
logo_path = /logo.png
|
|
|
|
=======
|
|
|
|
>>>>>>> parent of fe00260... v1.3
|
|
|
|
|
|
|
|
[configs]
|
|
|
|
#Server for save configs from HAproxy servers
|
|
|
|
haproxy_configs_server =
|
|
|
|
#Dir where configs will be save
|
|
|
|
haproxy_save_configs_dir = /opt/haproxy/cgi-bin/hap_config/
|
|
|
|
|
|
|
|
[ssh]
|
|
|
|
#SSH keys to connect without password to HAproxy servers
|
|
|
|
ssh_keys = /opt/haproxy/cgi-bin/id_rsa.pem
|
|
|
|
#Username for connect ssh
|
|
|
|
ssh_user_name = root
|
|
|
|
|
|
|
|
[logs]
|
|
|
|
#Logs save localy, disable by default
|
|
|
|
local_path_logs = /var/log/haproxy.log
|
|
|
|
#
|
|
|
|
syslog_server_enable = enable
|
|
|
|
syslog_server = 172.28.5.112
|
|
|
|
|
|
|
|
[haproxy]
|
|
|
|
#Command for restart HAproxy service
|
|
|
|
restart_command = service haproxy restart
|
|
|
|
#Username and password for Stats web page HAproxy
|
|
|
|
user = admin
|
|
|
|
password = password
|
|
|
|
stats_port = 8085
|
|
|
|
haproxy_config_path = /etc/haproxy/haproxy.cfg
|
|
|
|
<<<<<<< HEAD
|
|
|
|
#Temp store configs, for haproxy check
|
|
|
|
tmp_config_path = /tmp
|
|
|
|
#Time in seconds for auto refresh view stats_port
|
|
|
|
refresh_time = 120
|
|
|
|
=======
|
|
|
|
>>>>>>> parent of fe00260... v1.3
|