nextcloud / ansible-collection-nextcloud-admin

The ansible galaxy for your nextcloud administrative needs.

Home Page:https://galaxy.ansible.com/nextcloud/admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nginx always shows default page

sleepy-nols opened this issue · comments

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?