Update app.sh
Use external web interface files
This commit is contained in:
@@ -2,24 +2,13 @@
|
||||
|
||||
echo "Munin-bitcoin starting..."
|
||||
|
||||
mkdir -p /tmp/munin-web
|
||||
|
||||
cat > /tmp/munin-web/index.html <<EOF
|
||||
<html>
|
||||
<body>
|
||||
<h1>Munin-bitcoin</h1>
|
||||
<p>Service is running.</p>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
|
||||
cat > /tmp/nginx.conf <<EOF
|
||||
events {}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
root /tmp/munin-web;
|
||||
root /app/web;
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
|
||||
Reference in New Issue
Block a user