/srv/web/ references changed to /usr/share/ ones
This commit is contained in:
parent
450e2a05ff
commit
ddaf6caa51
|
@ -40,11 +40,11 @@ case "$1" in
|
|||
fi
|
||||
|
||||
# jitsi meet
|
||||
chown -R www-data:www-data /srv/web/jitsi-meet/
|
||||
sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /srv/web/jitsi-meet/config.js
|
||||
chown -R www-data:www-data /usr/share/jitsi-meet/
|
||||
sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /usr/share/jitsi-meet/config.js
|
||||
# enable turn
|
||||
if grep "// useStunTurn: true," /srv/web/jitsi-meet/config.js > /dev/null; then
|
||||
sed -i "s/\/\/\ \ useStunTurn:\ true,/\ \ \ \ useStunTurn:\ true,/" /srv/web/jitsi-meet/config.js
|
||||
if grep "// useStunTurn: true," /usr/share/jitsi-meet/config.js > /dev/null; then
|
||||
sed -i "s/\/\/\ \ useStunTurn:\ true,/\ \ \ \ useStunTurn:\ true,/" /usr/share/jitsi-meet/config.js
|
||||
fi
|
||||
invoke-rc.d nginx restart
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ server {
|
|||
ssl_certificate /var/lib/prosody/jitsi-meet.example.com.crt;
|
||||
ssl_certificate_key /var/lib/prosody/jitsi-meet.example.com.key;
|
||||
|
||||
root /srv/web/jitsi-meet;
|
||||
root /usr/share/jitsi-meet;
|
||||
index index.html index.htm;
|
||||
|
||||
location ~ ^/([a-zA-Z0-9]+)$ {
|
||||
|
|
Loading…
Reference in New Issue