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.
56 lines
1.4 KiB
56 lines
1.4 KiB
[main]
|
|
#Path to files destination
|
|
fullpath = /opt/haproxy-wi/
|
|
server_bind_ip = 0.0.0.0
|
|
server_port = 8000
|
|
log_path = %(fullpath)s/log/
|
|
time_zone = UTC
|
|
#Enable logo on top menu. Default disable
|
|
logo_enable = 0
|
|
logo_path = /logo.png
|
|
|
|
[configs]
|
|
#Server for save configs from HAproxy servers
|
|
haproxy_configs_server = localhost
|
|
#Dir where configs will be save
|
|
haproxy_save_configs_dir = /opt/haproxy-wi/cgi-bin/hap_config/
|
|
|
|
[ssh]
|
|
#If ssh connect disable entare password for ssh connect. Default enable
|
|
ssh_keys_enable = 1
|
|
#SSH keys to connect without password to HAproxy servers
|
|
ssh_keys = /opt/haproxy-wi/cgi-bin/id_rsa.pem
|
|
#Username for connect ssh
|
|
ssh_user_name = root
|
|
ssh_pass =
|
|
|
|
[logs]
|
|
#Logs save locally, disable by default
|
|
local_path_logs = /var/log/haproxy.log
|
|
#If exist syslog server for HAproxy logs
|
|
syslog_server_enable = 0
|
|
syslog_server =
|
|
|
|
[telegram]
|
|
#Send log message to telegram channel
|
|
#Default bot send message disable
|
|
enable = 0
|
|
token =
|
|
channel_name =
|
|
proxy =
|
|
|
|
[haproxy]
|
|
#Command for restart HAproxy service
|
|
restart_command = service haproxy restart
|
|
status_command = systemctl status haproxy
|
|
#Username and password for Stats web page HAproxy
|
|
user = admin
|
|
password = password
|
|
stats_port = 8085
|
|
stats_page = stats
|
|
haproxy_config_path = /etc/haproxy/haproxy.cfg
|
|
#Temp store configs, for haproxy check
|
|
tmp_config_path = /tmp
|
|
#Time in seconds for auto refresh view stats_port
|
|
refresh_time = 120
|