Folks:
Thanks for your replies, but I had already figured out that the problem had something to do with nginx.
For just in particular: the first thing I did when I realized that the proxy was not set up for SSL was to look for various instructions for setting it up for using SSL â including at the link you provided. The iproblem is that everything I found that was clear mostly talked about how to use LetsEncrypt (or CertBot, or some other mechanism) for generating certs. All the other information I found was either unclear or the instructions just didnât work!
For example: check out this site:
https://www.freecodecamp.org/news/docker-nginx-letsencrypt-easy-secure-reverse-proxy-40165ba3aee2/
It gives an excellent step- by- step description of how to set up an nginx docker container to do reverse proxying and to use SSL. The author even provides a nice docker-compose.yml file that, with proper fiddling, actually starts up an nginx container. Trouble is, the setup doesnât work because the nginx container fails to stay up due tp a missing configuration file. This was just for starting up a basic nginx server!
This is typical of what I have been finding on the Internet. The instructions are out- of- date (so they donât work), so poorly written that they are unclear and unfollowable, are based on using proprietary containers that you have to pay for, or they simply do not work.
That is why I came here. I was hoping that someone here had solved this problem and could either tell me how to do it or point me to whatever site they used that provided instructions that actually worked.
So, let me rephrase my question:
Has anyone successfully gotten Nextcloud on Docker to work behind a reverse- proxy with SSL enabled? If so, what did you use? Can you tell me how to get it to work, or can you point me to any site that provided you with instructions that actually work?
And be advised: I donât necessarily need to use nginx. I am perfectly happy to use any other server as a reverse proxy. I am also fine with not using a reverse proxy at all, if there was some way to set up my Nextcloud container to process requests over SSL. The only reason I am even looking at using reverse proxies is because that seems to be the only way to do Nextcloud over SSL. If there is some other way, I am happy to be informed about it.
My goal is to use Nextcloud over SSL. I donât care how I do it, just that I can.