nginx: Fix invalid config when no services deployed

ie. for a thrimbletrimmer-only node.
pull/116/head
Mike Lang 5 years ago
parent e5c5eb4090
commit 60c6145836

@ -9,7 +9,7 @@ generate_location() {
}
LOCATIONS=$(
echo "$SERVICES" | while read name port; do
[ -n "$SERVICES" ] && echo "$SERVICES" | while read name port; do
# restreamer is the catch-all
[ "$name" == "restreamer" ] && generate_location / "http://restreamer:$port"
# thrimshim takes any calls to thrimshim/

Loading…
Cancel
Save