I have docker running Nginx and Nextcloud.
I have external DNS setup and everything is mostly working properly. However, it appears my NC is not fully secure via SSL.
I deployed NC using port 88 in docker
I have Nginx proxy traffic destined for:
cloud.domain.com > nc:88
I have Nginx SSL bound for the cloud.domain.com name.
Everything appears to work fine, I can access the dns name internally and externally via port 80 and 443. However, when I try to launch the mobile app and login, I get a failure message when I try to login to https://cloud.domain.com when I change to http I’m able to login but it’s not using SSL.
Further, when I share a file, it shares a http link and not https.
I’m assuming it’s because I don’t have https turned on the docker for nextcloud. I tried to run through the letsencrypt after installing the certbot:
certbot --apache -d cloud.domain.com
But I don’t get past the verification step, I’m assuming either and issue with Nginx passing the traffic or the nextcloud websevice intercepting the request.
Any guidance would be appreciated.