Skip to content

bbb-install.sh installing nginx but not disabling the package's default site #780

@rootdaemon

Description

@rootdaemon

I have been setting up BBB and Greenlight using the bbb-install script on freshly installed Ubuntu 22.04.
When checking the installation I noticed that port 80 of the machine responded somewhat unexpected:

Welcome to nginx!
If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.
For online documentation and support please refer tonginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.

Looking into this I found that the nginx package's default website is still enabled and overrides the BBB settings (symlink default in /etc/nginx/sites-enabled present).

Deleting the symlink fixed the issue and port 80 redirects to port 443 as expected.

This behavior was reproducible on different installs of Ubuntu 22.04 server in minimal installation where the install script had to pull all necessary packages off the net.

It would be great if bbb-install.sh would check for the presence of /etc/nginx/sites-enabled/default and remove the symlink to leave a defined state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions