mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-05-09 20:12:50 +00:00
allow enabling of low bandwidth mode on controllers
This commit is contained in:
parent
5ad0212b93
commit
405f96c4b7
@ -64,6 +64,7 @@ fi
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
DEFAULT_PORT=9993
|
DEFAULT_PORT=9993
|
||||||
|
DEFAULT_LB_MODE=false
|
||||||
|
|
||||||
APP_NAME="controller-$(cat /var/lib/zerotier-one/identity.public | cut -d ':' -f 1)"
|
APP_NAME="controller-$(cat /var/lib/zerotier-one/identity.public | cut -d ':' -f 1)"
|
||||||
|
|
||||||
@ -76,6 +77,7 @@ echo "{
|
|||||||
\"inot\",
|
\"inot\",
|
||||||
\"nat64\"
|
\"nat64\"
|
||||||
],
|
],
|
||||||
|
\"lowBandwidthMode\": ${ZT_LB_MODE:-$DEFAULT_LB_MODE},
|
||||||
\"ssoRedirectURL\": \"${ZT_SSO_REDIRECT_URL}\",
|
\"ssoRedirectURL\": \"${ZT_SSO_REDIRECT_URL}\",
|
||||||
\"allowManagementFrom\": [\"127.0.0.1\", \"::1\", \"10.0.0.0/8\"],
|
\"allowManagementFrom\": [\"127.0.0.1\", \"::1\", \"10.0.0.0/8\"],
|
||||||
${REDIS}
|
${REDIS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user