|
@ -5,7 +5,7 @@ Web interface(user-friendly web GUI) for managing Haproxy servers. Leave your [f
|
||||||
Support the project
|
Support the project
|
||||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5XVQTMKQS57NE&lc=US&Z3JncnB0=) or [Patreon](https://www.patreon.com/haproxy_wi/overview)
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5XVQTMKQS57NE&lc=US&Z3JncnB0=) or [Patreon](https://www.patreon.com/haproxy_wi/overview)
|
||||||
|
|
||||||
[Demo video](https://youtu.be/4IJuRrxcxcg)
|
[Demo video](https://www.youtube.com/channel/UCo0lCg24j-H4f0S9kMjp-_w)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>HAProxy web manager</title>
|
||||||
|
<link href="/image/pic/favicon.ico" rel="icon" type="image/x-icon">
|
||||||
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||||
|
<link href="/inc/style.css" rel="stylesheet">
|
||||||
|
<meta http-equiv="refresh" content="0; url=overview.py" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>
|
||||||
|
Redirecting... Please wait
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -10,7 +10,7 @@
|
||||||
</pre>
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre style="font-size: 12px; padding-left: 0px; margin-top: -20px;">
|
<pre style="font-size: 12px; padding-left: 0px;">
|
||||||
{{ service.3 }}
|
{{ service.3 }}
|
||||||
</pre>
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -45,7 +45,6 @@ try:
|
||||||
user_id = cookie.get('uuid')
|
user_id = cookie.get('uuid')
|
||||||
user = sql.get_user_name_by_uuid(user_id.value)
|
user = sql.get_user_name_by_uuid(user_id.value)
|
||||||
token = sql.get_token(user_id.value)
|
token = sql.get_token(user_id.value)
|
||||||
servers = [('haproxy-wi.error.log','error.log'), ('haproxy-wi.access.log','access.log')]
|
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 361 KiB After Width: | Height: | Size: 294 KiB |
Before Width: | Height: | Size: 335 KiB After Width: | Height: | Size: 318 KiB |
Before Width: | Height: | Size: 426 KiB After Width: | Height: | Size: 363 KiB |
Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 283 KiB |
Before Width: | Height: | Size: 335 KiB After Width: | Height: | Size: 315 KiB |
Before Width: | Height: | Size: 456 KiB After Width: | Height: | Size: 690 KiB |
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 281 KiB |
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 330 KiB |
Before Width: | Height: | Size: 565 KiB After Width: | Height: | Size: 497 KiB |
Before Width: | Height: | Size: 551 KiB After Width: | Height: | Size: 352 KiB |
Before Width: | Height: | Size: 763 KiB After Width: | Height: | Size: 605 KiB |
10
install.sh
|
@ -415,7 +415,13 @@ sudo chmod +x /var/www/$HOME_HAPROXY_WI/app/tools/*.py
|
||||||
sudo rm -f /var/www/$HOME_HAPROXY_WI/log/config_edit.log
|
sudo rm -f /var/www/$HOME_HAPROXY_WI/log/config_edit.log
|
||||||
cd /var/www/$HOME_HAPROXY_WI/app
|
cd /var/www/$HOME_HAPROXY_WI/app
|
||||||
./update_db.py
|
./update_db.py
|
||||||
sudo chown -R apache:apache /var/www/$HOME_HAPROXY_WI/
|
if hash apt-get 2>/dev/null; then
|
||||||
sudo chown -R apache:apache /var/log/httpd/
|
sudo chown -R www-data:www-data /var/www/$HOME_HAPROXY_WI/
|
||||||
|
sudo chown -R www-data:www-data /var/log/httpd/
|
||||||
|
sudo chown -R www-data:www-data /var/log/apache2/
|
||||||
|
else
|
||||||
|
sudo chown -R apache:apache /var/www/$HOME_HAPROXY_WI/
|
||||||
|
sudo chown -R apache:apache /var/log/httpd/
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -120,5 +120,5 @@ echo ""
|
||||||
echo "Please set your config"
|
echo "Please set your config"
|
||||||
echo ""
|
echo ""
|
||||||
echo "################"
|
echo "################"
|
||||||
echo "Your config saved in /tmp/haproxy-webintarface.config. Please comare with new and set your env back"
|
echo "Your config saved in /tmp/haproxy-webintarface.config. Please compare with new and set your env back"
|
||||||
echo ""
|
echo ""
|