1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-25 02:29:32 +02:00

Properly gitignore the SSL certificate

This commit is contained in:
Michael Kuron 2017-06-15 10:20:54 +02:00
parent 83cb686e33
commit 5e56edb08c
7 changed files with 3 additions and 2 deletions

2
.gitignore vendored
View File

@ -9,7 +9,5 @@ data/conf/postfix/sql
data/conf/dovecot/sql data/conf/dovecot/sql
data/web/inc/vars.local.inc.php data/web/inc/vars.local.inc.php
data/assets/ssl/* data/assets/ssl/*
data/assets/ssl/key.pem
data/assets/ssl/cert.pem
.vscode/* .vscode/*
data/web/.well-known/acme-challenge data/web/.well-known/acme-challenge

View File

@ -79,3 +79,6 @@ COMPOSE_PROJECT_NAME=mailcow-dockerized
ADDITIONAL_SAN= ADDITIONAL_SAN=
EOF EOF
# copy but don't overwrite existing certificate
cp -n data/assets/ssl-example/*.pem data/assets/ssl/