update domain (#2524)
This commit is contained in:
Родитель
551ba820bd
Коммит
963c144b27
|
@ -354,7 +354,7 @@ timeout = 10
|
|||
connectionsperhost = 8
|
||||
|
||||
[backend-1]
|
||||
url = https://${TURN_DOMAIN}
|
||||
url = https://${SUBDOMAIN}
|
||||
secret = ${SIGNALING_SECRET}
|
||||
|
||||
[nats]
|
||||
|
|
10
lib.sh
10
lib.sh
|
@ -197,12 +197,12 @@ turn_install() {
|
|||
TURN_PORT=3478
|
||||
TURN_DOMAIN=$(sudo -u www-data /var/www/nextcloud/occ config:system:get overwrite.cli.url | sed 's|https://||;s|/||')
|
||||
SHUF=$(shuf -i 25-29 -n 1)
|
||||
TURN_SECRET=$(gen_passwd "$SHUF" "a-zA-Z0-9@#*")
|
||||
JANUS_API_KEY=$(gen_passwd "$SHUF" "a-zA-Z0-9@#*")
|
||||
SIGNALING_SECRET=$(gen_passwd "$SHUF" "a-zA-Z0-9@#*")
|
||||
TURN_SECRET=$(gen_passwd "$SHUF" "a-zA-Z0-9")
|
||||
JANUS_API_KEY=$(gen_passwd "$SHUF" "a-zA-Z0-9")
|
||||
SIGNALING_SECRET=$(gen_passwd "$SHUF" "a-zA-Z0-9")
|
||||
SIGNALING_SERVER_CONF=/etc/signaling/server.conf
|
||||
TURN_INTERNAL_SECRET=$(gen_passwd "$SHUF" "a-zA-Z0-9@#*")
|
||||
TURN_RECORDING_SECRET=$(gen_passwd "$SHUF" "a-zA-Z0-9@#*")
|
||||
TURN_INTERNAL_SECRET=$(gen_passwd "$SHUF" "a-zA-Z0-9")
|
||||
TURN_RECORDING_SECRET=$(gen_passwd "$SHUF" "a-zA-Z0-9")
|
||||
TURN_RECORDING_HOST=127.0.0.1
|
||||
TURN_RECORDING_HOST_PORT=1234
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче