Merge pull request #361 from mkuron/gitignore

Properly gitignore the SSL certificate
master
André Peters 2017-06-15 14:39:09 +02:00 committed by GitHub
commit 22df70fdbf
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/