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 for "Auto start" enable state file and stat socket on the HAProxy servers, also need to install socat to the all haproxy servers, and configure the HAProxy:

For Antibot protection add the next two backends:

Nginx config

If you use installed Nginx without HAProxy-WI then for viewing stats and for "Auto start" 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 the config file(haproxy-wi.cfg):

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: