Nextcloud AIO installation on the server that runs normal web traffic(using nginx) on main domain

Hi Everyone,

After not being able to find a solution on the internet I’m posting here. I’m fairly new and setting up next cloud for first time.

I have a website running on and and these are served using Nginx

Now when I’m trying to configure next cloud AIO using docker on a subdomain; things aren’t working automatically… I’ve opened the required ports.
At first I got error regarding port conflict; so I changed port to 81 as follows. this resolved port conflict but now there’s issues with SSL certificates as its saying it does not have the permission to do it

sudo docker run \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 81:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \

so my question would be; has anyone faced similar issues or are there any guides to follow. what should be my next steps.

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

thanks @szaimen ! I’ll go through the documentation and see if it works…