HAProxy-WI config

Edit $HOME_HAPROXY-WI/app/haproxy-wi.cfg with your env. Default config:

HAProxy config

If you use installed HAProxy without HAProxy-WI then for Runtime API, Metrics and Alerting enable state file and stat socket on the HAProxy servers and needs install socat to the all haproxy servers, and configre the HAProxy:

For Antibot protection add the next two backends:

Nginx config

If you use installed Nginx without HAProxy-WI then for view stats you should add the next configuration to all your Nginx servers:

And generate login/password with htpasswd into /etc/nginx/status_page_passwdfile

DB settings

Default the HAProxy-WI uses the Sqlite, if you want to use the MySQL enable it in config:

And create a database:

Apache settings

If you want to use your own Domain name you should edit haproxy-wi.conf for Apache:

Edit the next string, replace "" on your own:

And if you want to have redirect from the port 80 to the port 443, you should add next:

In order to change the certificates you should edit: