0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-16 16:14:47 +02:00
nextcloud-docker/.examples/docker-compose/with-nginx-proxy-external-ssl/mariadb/fpm
Egidio Caprino 0e61a51707 docs: add instructions for using the with-nginx-proxy-external-ssl Docker compose
Signed-off-by: Egidio Caprino <egidio.caprino@gmail.com>
2020-12-09 19:49:20 +01:00
..
proxy feat: add docker-compose.yml for container with external SSL certificate 2020-12-09 19:49:20 +01:00
web feat: add docker-compose.yml for container with external SSL certificate 2020-12-09 19:49:20 +01:00
db.env feat: add docker-compose.yml for container with external SSL certificate 2020-12-09 19:49:20 +01:00
docker-compose.yml feat: add docker-compose.yml for container with external SSL certificate 2020-12-09 19:49:20 +01:00
README.md docs: add instructions for using the with-nginx-proxy-external-ssl Docker compose 2020-12-09 19:49:20 +01:00
ssl.env feat: add docker-compose.yml for container with external SSL certificate 2020-12-09 19:49:20 +01:00

You need to have an SSL certificate for your domain. You could generate it with Certbot.

Fill in the db.env and ssl.env files and the MYSQL_ROOT_PASSWORD environment variable in docker-compose.yml file. The CERT_PATH needs to contain the

  • .crt file
  • .key file

If you generated your certificate with Certbot you can create symbolic links:

cd /path/to/certs
ln -s /path/to/certs/fullchain1.pem mydomain.crt
ln -s /path/to/certs/privkey1.pem mydomain.key

Replace mydomain with the domain covered by your certificate and used to access your Nextcloud instance.