mirror of https://github.com/Aidaho12/haproxy-wi
Aidaho12
7 years ago
committed by
GitHub
1 changed files with 31 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||||||
|
[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 |
Loading…
Reference in new issue