mirror of https://github.com/Aidaho12/haproxy-wi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
772 B
31 lines
772 B
[main] |
|
#Path to files destination |
|
fullpath = /opt/haproxy/ |
|
|
|
[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
|
|
|