Nextcloud - how to replace the self-signed cert with my own cert?

Hi
Can someone guide me to how to replace the self-signed cert in the lscr.io/linuxserver/nextcloud image with my own cert? Perhaps running it along with letsencrypt?
Thanks
MT

This should be covered in the official nextcloud documentation, it’s not something we advise or support. Our suggestion would be to use a reverse proxy to put a trusted ssl cert in front of nextcloud.

Thx.

In https://hub.docker.com/r/linuxserver/nextcloud under " Strict reverse proxies" points me to Frequently Asked Questions - LinuxServer.io

But I am not sure how to create the ServerTransport using docker-compose.

the service rule part i can understand.

Any pointers appreciated

that’s only specific to traefik