haproxy-wi/haproxy-webintarface.config

56 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-01-15 06:08:45 +00:00
[main]
#Path to files destination
fullpath = /opt/haproxy-wi/
2018-01-15 07:54:44 +00:00
server_bind_ip = 0.0.0.0
server_port = 8000
log_path = %(fullpath)s/log/
2018-01-18 09:13:12 +00:00
time_zone = UTC
#Enable logo on top menu. Default disable
logo_enable = 0
logo_path = /logo.png
2018-01-15 06:08:45 +00:00
[configs]
#Server for save configs from HAproxy servers
2018-01-26 04:24:20 +00:00
haproxy_configs_server = localhost
2018-01-15 06:08:45 +00:00
#Dir where configs will be save
haproxy_save_configs_dir = /opt/haproxy-wi/cgi-bin/hap_config/
2018-01-15 06:08:45 +00:00
[ssh]
2018-01-26 07:36:01 +00:00
#If ssh connect disable entare password for ssh connect. Default enable
ssh_keys_enable = 1
2018-01-15 06:08:45 +00:00
#SSH keys to connect without password to HAproxy servers
ssh_keys = /opt/haproxy-wi/cgi-bin/id_rsa.pem
2018-01-15 06:08:45 +00:00
#Username for connect ssh
ssh_user_name = root
2018-01-26 07:36:01 +00:00
ssh_pass =
2018-01-15 06:08:45 +00:00
[logs]
2018-02-07 04:39:42 +00:00
#Logs save locally, disable by default
2018-01-15 06:08:45 +00:00
local_path_logs = /var/log/haproxy.log
2018-02-07 04:39:42 +00:00
#If exist syslog server for HAproxy logs
2018-01-31 11:26:59 +00:00
syslog_server_enable = 0
2018-01-26 07:36:01 +00:00
syslog_server =
[telegram]
#Send log message to telegram channel
#Default bot send message disable
enable = 0
token =
channel_name =
proxy =
2018-01-15 06:08:45 +00:00
[haproxy]
#Command for restart HAproxy service
restart_command = service haproxy restart
2018-03-24 16:58:42 +00:00
status_command = systemctl status haproxy
2018-01-15 06:08:45 +00:00
#Username and password for Stats web page HAproxy
user = admin
password = password
stats_port = 8085
2018-02-07 04:39:42 +00:00
stats_page = stats
2018-01-15 06:08:45 +00:00
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
2018-01-26 04:08:34 +00:00
refresh_time = 120