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