/haproxy-wi

Web interface for managing Haproxy, Nginx and Keepalived servers

Primary LanguageJavaScriptApache License 2.0Apache-2.0

alt text

Web interface(user-friendly web GUI, alerting, monitoring and secure) for managing HAProxy, Nginx and Keepalived servers. Leave your feedback

Get involved

Demo site

Demo site Login/password: admin/admin. Server resets every hour.

alt text

Features:

  1. Installation and updating HAProxy, Nginx and Keepalived with HAProxy-WI
  2. Installation and updating Grafana, Prometheus servers with HAProxy-WI
  3. Installation and updating HAProxy and Nginx exporters with HAProxy-WI
  4. Configure HAProxy, Nginx and Keepalived In a jiffy with HAProxy-WI
  5. Dynamic change of Maxconn, backend's IP address and port with saving changes to the config file
  6. View and analyse Status of all Frontend/backend server via HAProxy-WI from a single control panel.
  7. Enable/disable servers through stats page without rebooting HAProxy
  8. View/Analyse HAproxy, Nginx logs straight from the HAProxy-WI web interface
  9. Create and visualise the HAProxy workflow from Web Ui.
  10. Push Your changes to your HAProxy, Nginx and Keepalived servers with a single click through web interface
  11. Get info on past changes, evaluate your config files and restore a previous stable config anytime with a single click straight from Web interface
  12. Add/Edit Frontend or backend servers via web interface with a click of a button.
  13. Edit config of HAProxy, Nginx, Keepalived and push changes to All Master/Slave server with a single click
  14. Add Multiple server to ensure Config Sync between servers.
  15. Auto management of ports assigned to Fronted.
  16. Evaluate the changes of recent configs pushed to HAProxy, Nginx and Keepalived instances straight from web ui
  17. Multiple User Roles support for privileged based Viewing and editing of Config
  18. Create Groups and add/remove servers to ensure proper identification for your HAProxy, Nginx Clusters
  19. Send notifications to telegram directly from HAProxy-WI
  20. HAProxy-WI supports high Availability to ensure uptime to all Master slave servers configured
  21. SSL certificate support.
  22. SSH Key support for managing multiple HAProxy Servers straight from HAProxy-WI
  23. SYN flood protect
  24. Alerting about changes backends state
  25. Alerting about HAProxy service state
  26. Metrics incoming connections
  27. Web acceleration settings
  28. Web application firewall
  29. LDAP support
  30. Keep active HAProxy service
  31. Ability to hide parts of the config with tags for users with "guest" role: "HideBlockStart" and "HideBlockEnd"
  32. Mobile-ready desing
  33. Simple port monitoring
  34. Backup HAProxy's, Nginx's and Keepalived's config files through HAProxy-WI

alt text

Install

RPM

Read instruction on the official site

Manual install

Read instruction on the official site

OS support

HAProxy-WI was tested on EL7, EL8 and all scripts too. Debian/Ubuntu OS support at 'beta' stage, may work not correct

alt text

Database support

Default HAProxy-WI use Sqlite, if you want use MySQL enable in config, and create database:

For MySQL support:

Read instruction on the official site

alt text

Settings

Login https://haproxy-wi-server/users.py, and add: users, groups and servers. Default: admin/admin

Read instruction on the official site

alt text

alt text

Troubleshooting

If you have error:

Forbidden
You don't have permission to access /app/overview.py on this server. 

Check owner(must be apache, or another user for apache)

If at first login you have:

Internal Server Error

Do this:

$ cd /var/www/haproxy-wi/app
$ ./create_db.py

and check executeble py files

If you see plain text, check section "Directory" in httpd conf