From 444a4d297c96b30f389b0e54fef832e384bb6c82 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 8 Apr 2025 11:39:17 +0200 Subject: [PATCH] Disable nginx default site Avoid possible collision with bigbluebutton site by removing the symlink. Fixes #780. --- bbb-install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bbb-install.sh b/bbb-install.sh index a079fa9..641f33f 100644 --- a/bbb-install.sh +++ b/bbb-install.sh @@ -1680,6 +1680,13 @@ fi yq e -i '.mediasoup.plainRtp.listenIp.ip = "0.0.0.0"' $TARGET yq e -i ".mediasoup.plainRtp.listenIp.announcedIp = \"$IP\"" $TARGET + # nginx package enables default website which collides with bigbluebutton config + # check if the default website is enabled (symlink present) parallel to bigbluebutton + # being enabled and if so, remove the symlink | fixes https://github.com/bigbluebutton/bbb-install/issues/780 + DEFAULT_SITE=/etc/nginx/sites-enabled/default + BBB_SITE=/etc/nginx/sites-enabled/bigbluebutton + [ -L $DEFAULT_SITE ] && [ -L $BBB_SITE ] && rm $DEFAULT_SITE + systemctl reload nginx }