/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
|
fi
|
||||||
|
|
||||||
# jitsi meet
|
# jitsi meet
|
||||||
chown -R www-data:www-data /srv/web/jitsi-meet/
|
chown -R www-data:www-data /usr/share/jitsi-meet/
|
||||||
sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /srv/web/jitsi-meet/config.js
|
sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /usr/share/jitsi-meet/config.js
|
||||||
# enable turn
|
# enable turn
|
||||||
if grep "// useStunTurn: true," /srv/web/jitsi-meet/config.js > /dev/null; then
|
if grep "// useStunTurn: true," /usr/share/jitsi-meet/config.js > /dev/null; then
|
||||||
sed -i "s/\/\/\ \ useStunTurn:\ true,/\ \ \ \ useStunTurn:\ true,/" /srv/web/jitsi-meet/config.js
|
sed -i "s/\/\/\ \ useStunTurn:\ true,/\ \ \ \ useStunTurn:\ true,/" /usr/share/jitsi-meet/config.js
|
||||||
fi
|
fi
|
||||||
invoke-rc.d nginx restart
|
invoke-rc.d nginx restart
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ server {
|
||||||
ssl_certificate /var/lib/prosody/jitsi-meet.example.com.crt;
|
ssl_certificate /var/lib/prosody/jitsi-meet.example.com.crt;
|
||||||
ssl_certificate_key /var/lib/prosody/jitsi-meet.example.com.key;
|
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;
|
index index.html index.htm;
|
||||||
|
|
||||||
location ~ ^/([a-zA-Z0-9]+)$ {
|
location ~ ^/([a-zA-Z0-9]+)$ {
|
||||||
|
|
Loading…
Reference in New Issue