Docker based NextCloud AiO with nginx on separate Ubuntu VM - not working

My docker-compose.yml

volumes:
 nextcloud_aio_mastercontainer:
   name: nextcloud_aio_mastercontainer
services:
 nextcloud:
   image: nextcloud/all-in-one:latest
   restart: unless-stopped
   container_name: nextcloud-aio-mastercontainer
   volumes:
     - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
     - /var/run/docker.sock:/var/run/docker.sock:ro
   ports:
     - 6789:8080 # change the port on the left side if it's already in use on your host system.
   environment:
     - APACHE_PORT=11000

Then Nextcloud AIO for a local start is available on http://lanip-of-your-vm02:6789. You can choose which containers to run.
Start all your Nextcloud AIO dockers there.
Then you can set up NGINX Proxy server for domain/subdomain forwarding.

My NGINX Proxy settings

3 pages of settings -
nginx_settings.pdf (133,0 KB)
When you will set up SSL tab the first time - use Request new certificate.

Code for Advanced tab:

client_body_buffer_size 512k;
proxy_read_timeout 86400s;
client_max_body_size 0;

Let me know if it will help you.