NextCloud AIO Docker ( 443 Loginpage broken pipe )

I recommend checking out this thread (including the replies):
:backhand_index_pointing_right: Ubuntu 24.04 + Nextcloud AIO best practices

In my answers there I’ve summarized a couple of things that should help you get oriented:

  • Best practices for running Nextcloud AIO in Docker using a docker-compose.yml file instead of the raw docker run command. This makes it easier to manage and modify the setup.

  • Proxmox + Ubuntu VM configuration that avoids common pitfalls, especially if you want stable performance and seamless large file uploads. - Testing Large File Synchronization with Nextcloud AIO and NGINX Proxy — June 2025 Update

  • Nginx Proxy Manager configuration for Nextcloud, with working reverse proxy rules. - the same URL

  • Explanation of how to adapt the docker-compose.yml if you need to attach Nextcloud AIO to an existing volume.

  • Portainer benefits

If you go through that thread and the answers, you’ll have a clearer overview of how the pieces (AIO, VM, NPM) fit together and how to avoid the broken-pipe / port 443 issues you’re seeing now.