Skip to content

nginx always shows default page #332

Description

@sleepy-nols

Expected behavior:
After installing the webpage shows the Nextcloud login.

Actual behavior:
When installing with

nextcloud_install_websrv: true
nextcloud_websrv: "nginx"
nextcloud_disable_websrv_default_site: true

nextcloud_install_tls: false
nextcloud_tls_enforce: false

nginx always shows the default nginx plash page. I am installing into an lxd container with bookworm cloud image.

Solution approach:
I found the file /usr/share/nginx/html/index.html while greping the whole container for Welcome to nginx! as on the splash page. When removing this file the webserver 404s. This suggests that this is the file the webserver is accessing. I have not found anything in the nginx config that suggest that it points to that file. It could be symlinked to somewhere else though.
When installing with apache the issue does not occur.

Can anyone reproduce this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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