Update app.sh

Use nginx for web interface
This commit is contained in:
2026-08-06 05:21:32 +00:00
parent 48de7fbd22
commit f07ae14435
+16 -1
View File
@@ -13,9 +13,24 @@ cat > /tmp/munin-web/index.html <<EOF
</html> </html>
EOF EOF
cat > /tmp/nginx.conf <<EOF
events {}
http {
server {
listen 80;
root /tmp/munin-web;
location / {
index index.html;
}
}
}
EOF
echo "Starting web interface..." echo "Starting web interface..."
busybox httpd -f -p 80 -h /tmp/munin-web & nginx -g "daemon off;" -c /tmp/nginx.conf &
while true while true
do do