fix turnserver postinst for ipv6 listener

This commit is contained in:
Giorgio Bonfiglio 2020-03-17 22:37:39 +00:00
parent 5d8d0b9a01
commit 4e81a7abd3
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ case "$1" in
NGINX_STREAM_CONFIG="/etc/nginx/modules-enabled/60-jitsi-meet.conf"
if [ -f $NGINX_STREAM_CONFIG ] && [ -f $NGINX_CONFIG ] ; then
sed -i "s/listen 443 ssl/listen 4444 ssl http2/g" $NGINX_CONFIG
sed -i "s/listen \[\:\:\]\:443 ssl/listen \[\:\:\]\:4444 ssl http2/g" $NGINX_CONFIG
invoke-rc.d nginx reload || true
fi