Update app.sh
Start status API with application
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
echo "Munin-bitcoin starting..."
|
||||
|
||||
echo "Starting status API..."
|
||||
|
||||
node /app/server/status.js &
|
||||
|
||||
cat > /tmp/nginx.conf <<EOF
|
||||
events {}
|
||||
|
||||
@@ -10,6 +14,10 @@ http {
|
||||
listen 80;
|
||||
root /app/web;
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
}
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user