Enter the docker container
docker exec -it NAME /bin/bash
and then cat /var/www/nextcloud.log (or wherever it is buried in /var/www)
Check your swag log.
Check your router settings.
Update your trusted domains in the container to include the correct settings.
Good luck.