Commit 01192e21 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

doc/ Add info on Let's encrypt to avoid copying certificates

parent e805f259
Pipeline #176808 passed with stages
in 3 minutes and 58 seconds
......@@ -185,6 +185,8 @@ You can achieve this with the following steps:
cp /etc/letsencrypt/live/ vidjil-client/ssl/web2py.key
The certificates can be renewed with `certbot renew` but beware to copy the certificates after that.
Instead of copying the certificates, you may wish to mount `/etc/letsencrypt` in the Docker image as a volume (*eg.* `/etc/letsencrypt:/etc/nginx/ssl`).
On certificate renewal (with `certbot`), you then need to restart the Nginx server.
If necessary, in `docker-compose.yml`, update `nginx.volumes`, line `./vidjil-client/ssl:/etc/nginx/ssl`, to set the directory with the certificates.
The same can be done for the `postfix` container.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment