How to ownCloud with Docker' version 8080 Change 443

BUT: only ↓
docker with http 8080
How to transform 443?

But, How to change ssl(443), I tried in container modify files:
SSLEngine on
SSLCertificateFile /etc/apache2/certs/XXX.crt.pem
SSLCertificateKeyFile /etc/apache2//certs/XXX.key.pem
SSLCertificateChainFile /etc/apache2/certs/XXX.crt.pem
but, restart failure…
I don’t know , I need to do?

It is recommend to use a reverse proxy like Caddy or Traefik. You could also use nginx-proxy with docker-gen.
In order to install a certificate inside the container you would basically have to build a new container based on the official one, where you install the cert and reconfigure apache. Really, that’s just too complicated, so go the reverse proxy route.

1 Like


this looks to me like a duplicate of Docker HTTPS deployment.

1 Like