Nextcloud version: 24.0.2 nextcloud:latest docker container.
Operating system and version_: Ubuntu 22.04
The issue you are facing:
Disabling the docker userland proxy on the docker host running nextcloud makes nextcloud unresponsive to the local port of via the nginx reverse proxy (on another host).
Doing some tennable scans of some unrelated docker hosts I got the following recommendation:
Which makes good sense to remove the userland-proxy from the picture. So I thought I’d do that on my home-lab docker hosts…
The end result was that nextcloud broke when I put:
{
"userland-proxy": false
}
in /etc/docker/daemon.json
To check it wasn’t a local docker issue I stopped docker, rm -rf /var/lib/docker and restarted / pulled the container and the issue persisted. Removing the daemon.json fixed it.
Talking to a friend who also runs a similar lab setup he didn’t see the problem so i wanted to just chuck this up here and see if this is unique to something I’ve done and that I should nuke and pave before I go too far down the rabbit hole.
Steps to replicate it:
- Nextcloud in docer, on host ‘A’ nginx reverse proxy on ‘B’ All working fine…
- Disable userland proxy on docker host A
- nginx container