diff --git a/haproxy-webintarface.config b/haproxy-webintarface.config new file mode 100644 index 0000000..99fa2fb --- /dev/null +++ b/haproxy-webintarface.config @@ -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