NextCloud AIO - On differnt server behind reverse proxy


I鈥檓 trying to get Nextcloud setup properly, was following this: all-in-one/ at main 路 nextcloud/all-in-one 路 GitHub

On that documentation, it covered the cases where Nextcloud is running on the same machine as the Proxy.
But, In my case the Reverse Proxy (Nginx Proxy Manager) is on a differnt server (
and nextcloud is at

I tried doing something like this:

version: "3.8"

    name: nextcloud_aio_mastercontainer

    image: nextcloud/all-in-one:latest
    restart: always
    container_name: nextcloud-aio-mastercontainer
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config 
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - 8080:8080

and on the reverse proxy config:

With that, I can open the AIO Setup page, but getting this error:

Docker logs:

Hi, see all-in-one/ at main 路 nextcloud/all-in-one 路 GitHub

Hi, we made a few improvements to the aio interface with v5.0.0 Beta which hopefully resolves the confusion around setting things up correctly. Feedback an testing is welcome. See GitHub - nextcloud/all-in-one: Nextcloud AIO stands for Nextcloud All-in-One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.