Change default redirect from thrimbletrimmer dashboard to just thrimbletrimmer, and the reorganized files will make it make more sense

pull/235/head
ElementalAlchemist 4 years ago committed by Mike Lang
parent e024a42166
commit ae0e6d0385

@ -24,7 +24,7 @@ LOCATIONS=$(
generate_location "/metrics/$name" "http://$name:$port/metrics" generate_location "/metrics/$name" "http://$name:$port/metrics"
done done
[ -n "$THRIMBLETRIMMER" ] && [ -n "$THRIMBLETRIMMER" ] &&
echo -e "\t\tlocation = / { return 301 /thrimbletrimmer/dashboard.html; }" && echo -e "\t\tlocation = / { return 301 /thrimbletrimmer/; }" &&
echo -e "\t\tlocation /thrimbletrimmer { }" echo -e "\t\tlocation /thrimbletrimmer { }"
[ -n "$SEGMENTS" ] && [ -n "$SEGMENTS" ] &&
echo -e "\t\tlocation /segments/ { alias $SEGMENTS/; }" echo -e "\t\tlocation /segments/ { alias $SEGMENTS/; }"

Loading…
Cancel
Save