allow enabling of low bandwidth mode on controllers

This commit is contained in:
Grant Limberg 2023-05-31 15:07:57 -07:00
parent 5ad0212b93
commit 405f96c4b7
No known key found for this signature in database
GPG Key ID: 8F2F97D3BE8D7735

View File

@ -64,6 +64,7 @@ fi
popd
DEFAULT_PORT=9993
DEFAULT_LB_MODE=false
APP_NAME="controller-$(cat /var/lib/zerotier-one/identity.public | cut -d ':' -f 1)"
@ -76,6 +77,7 @@ echo "{
\"inot\",
\"nat64\"
],
\"lowBandwidthMode\": ${ZT_LB_MODE:-$DEFAULT_LB_MODE},
\"ssoRedirectURL\": \"${ZT_SSO_REDIRECT_URL}\",
\"allowManagementFrom\": [\"127.0.0.1\", \"::1\", \"10.0.0.0/8\"],
${REDIS}