Is there a docker-compose example somewhere that does NOT use letsencrypt? I’ve seen the question asked in a few search results, but doesn’t ever seem to be a decent answer - just hacking up of the LE solution.
Seems beyond strange to me that there’s not a ready-made example for those who have valid SSL certificates… unless I’m just missing it
Can you post your compose? You absolutely don’t need LE certs — heck you could use self-signed if you wanted to. You usually just need to specify the name of the crt file, private key file and CA file and sometimes a dhparam file.
You can configure a Docker-based web server in the same manner you would a normal one, and there are a few different ways to go about it. For example, you could use a folder-based volume to inject both your certificate and configuration into the container.
I personally run the Docker-based Nextcloud but with the proxy and LE running on the host instead of a container.
you are missing that letsencrypt certs are also valid.
back to the subject. imho you have to possibilities.
a) you examine the nc image. that is to say find the httpd conf in the image and replace it with a ssl enabled one. (if that’s possible. that means sslmod is not disabled.)
b) you use a plain vanilla nginx image to terminate the ssl connection and proxy to your nextcloud container.
but you don’t need to you use the jwilder/nginx-proxy image.
500 error means your backend is down. (database, php or redis.)
nginx is working.