Commit b9102d3b authored by Mikaël Salson's avatar Mikaël Salson

docker: Already provide volume for using certbot

This is not mandatory but this is more convenient.
parent a471bdd9
Pipeline #159562 passed with stages
in 30 minutes and 44 seconds
......@@ -56,6 +56,7 @@ services:
command: bash /entrypoints/nginx-entrypoint.sh
volumes:
- /opt/vidjil/log/nginx:/var/log/nginx
- /opt/vidjil/certs:/etc/letsencrypt/well-known
- ./vidjil-client/ssl:/etc/nginx/ssl
- ./vidjil-client/conf:/etc/vidjil
- ../germline:/usr/share/vidjil/germline
......
......@@ -28,4 +28,9 @@ server {
include /etc/vidjil/server_location.conf;
include /etc/vidjil/client_location.conf;
# Used for Let's Encrypt challenges
location /.well-known {
root /etc/letsencrypt/well-known;
}
}
Markdown is supported
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