mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
Solved mailu bug
This commit is contained in:
1 parent
221596e524
commit
d98c9cda23
1 file changed
+6
@@ -12,6 +12,12 @@ docker_compose_instance_directory="$2"
|
||||
|
||||
# Copy certificates
|
||||
cp -RvL "/etc/letsencrypt/live/$domain/"* "$docker_compose_instance_directory/certs" || exit 1
|
||||
|
||||
# This code is optimized for mailu
|
||||
cp -v "/etc/letsencrypt/live/$domain/privkey.pem" "$docker_compose_instance_directory/certs/key.pem" || exit 1
|
||||
cp -v "/etc/letsencrypt/live/$domain/fullchain.pem" "$docker_compose_instance_directory/certs/cert.pem" || exit 1
|
||||
|
||||
# Set correct reading rights
|
||||
chmod a+r -v "$docker_compose_instance_directory/certs/"*
|
||||
|
||||
# Flag to track if any Nginx reload was successful
|
||||
|
||||
Reference in new issue
Block a user