version: "3.8"
services:
  proxy:
    image: "jc21/nginx-proxy-manager:latest"
    restart: unless-stopped
    ports:
      - "80:80"
      - "81:81"
      - "443:443"
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  cells:
    image: pydio/cells:latest
    restart: unless-stopped
    environment:
      CELLS_SITE_NO_TLS: 1
      CELLS_SITE_BIND: ":80"
      CELLS_SITE_EXTERNAL: "file.somelocal.duckdns.org/"
    expose:
      - "80"
    volumes:
      - ./cellsdir:/var/cells
  mysql:
    image: mysql:8
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: P@ssw0rd
      MYSQL_DATABASE: cells
      MYSQL_USER: pydio
      MYSQL_PASSWORD: P@ssw0rd
    command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
    volumes:
      - ./mysqldir:/var/lib/mysql
  editor:
    image: collabora/code
    restart: unless-stopped
    environment:
      extra_params: "--o:ssl.enable=false"
      domain: "office.somelocal.duckdns.org"
    expose:
      - "9980"
After setting up two proxies using nginx-proxy-manager, i’ve created a proxy for the cells installation and another one for the collabora, I use the same certificate for both with a wildcard.
file.somelocal.duckdns.org -> points to cells:80
office.somelocal.duckdns.org -> points to editor:9980
both work over TLS. office.somelocal.duckdns.org returns an OK in the browser.
configs for the libreoffice plugin are
- compat with upper 21
 - libre office uses TLS
 - do not validate tls (?)
 - host: office.somelocal.duckdns.org
 - port: 443
 
However every time I try to open and edit a file an error shows up in the logs, leaving the page blank
latest-cells-1 | 2023-10-30T10:19:43.257Z ERROR pydio.web.libreoffice Error in libreoffice reverse proxy: dial tcp 127.0.0.1:443: connect: connection refused {“error”: “dial tcp 127.0.0.1:443: connect: connection refused”}
In the devtools of the browser I see a 502 bad gateway error.
Looks like the pydio plugin is not correctly setting the host address for the collab instance to tap into.
Any help appreciated.

