mirror of https://github.com/Aidaho12/haproxy-wi
				
				
				
			
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
[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
 | 
						|
#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
 |