mirror of https://github.com/Aidaho12/haproxy-wi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Pavel Loginov
fd784a9e82
|
4 years ago | |
---|---|---|
.github | 5 years ago | |
app | 4 years ago | |
config_other | 4 years ago | |
inc | 4 years ago | |
LICENSE | 6 years ago | |
README.md | 4 years ago | |
favicon.png | 4 years ago | |
index.html | 4 years ago | |
requirements.txt | 4 years ago |
README.md
Web interface(user-friendly web GUI, alerting, monitoring and secure) for managing HAProxy, Nginx and Keepalived servers. Leave your feedback
Get involved
- Youtube Demo video
- Twitter, subscribe!
- Telegram Channel about HAProxy-WI, talks and questions are welcome
Demo site
Demo site Login/password: admin/admin. Server resets every hour.
Features:
- Installation and updating HAProxy, Nginx and Keepalived with HAProxy-WI
- Installation and updating Grafana, Prometheus servers with HAProxy-WI
- Installation and updating HAProxy and Nginx exporters with HAProxy-WI
- Server provisioning on AWS, DigitalOcean and G-Core Labs
- Downloading, updating and formatting GeoIP to the acceptable format for HAProxy with HAProxy-WI
- Dynamic change of Maxconn, Black/white lists and backend's IP address and port with saving changes to the config file
- Configuring HAProxy, Nginx and Keepalived in a jiffy with HAProxy-WI
- Viewing and analysing the status of all Frontend/backend servers via HAProxy-WI from a single control panel
- Enabling/disabling servers through stats page without rebooting HAProxy
- Viewing/Analysing HAProxy and Nginx logs right from the HAProxy-WI web interface
- Creating and visualizing the HAProxy workflow from Web Ui
- Pushing Your changes to your HAProxy, Nginx and Keepalived servers with a single click via the web interface
- Getting info on past changes, evaluating your config files and restoring the previous stable config at any time with a single click right from Web interface
- Adding/Editing Frontend or backend servers via the web interface with a click
- Editing the config of HAProxy, Nginx and Keepalived and push ingchanges to All Master/Slave servers by a single click
- Adding Multiple server to ensure the Config Sync between servers
- Managing the ports assigned to Frontend automatically
- Evaluating the changes of recent configs pushed to HAProxy, Nginx and Keepalived instances right from the Web UI
- Multiple User Roles support for privileged based Viewing and editing of Config
- Creating Groups and adding/removing servers to ensure the proper identification for your HAProxy and Nginx Clusters
- Sending notifications from HAProxy-WI via Telegram, Slack and via the web interface
- Supporting high Availability to ensure uptime to all Master slave servers configured
- Support of SSL (including Let's Encrypt)
- Support of SSH Key for managing multiple HAProxy and Nginx Servers straight from HAProxy-WI
- SYN flood protect
- Alerting about сhanges of the state of HAProxy backends
- Alerting about the state of HAProxy and Nginx service
- Gathering metrics for incoming connections
- Web acceleration settings
- Firewall for web application
- LDAP support
- Keep active HAProxy and Nginx services
- Possibility to hide parts of the config with tags for users with "guest" role: "HideBlockStart" and "HideBlockEnd"
- Mobile-ready design
- Simple port monitoring (SMON)
- Backup HAProxy, Nginx and Keepalived config files through HAProxy-WI
- Managing OpenVPN3 as a client via HAProxy-WI
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
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
Settings
Login https://haproxy-wi-server/users.py, and add: users, groups and servers. Default: admin/admin
Read instruction on the official site
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