Fix some more merge conflicts and some improvements

This commit is contained in:
Patrick Skowronek
2022-05-05 14:17:57 +02:00
parent f159ea8c3c
commit d36ad9b4e3
6 changed files with 16 additions and 83 deletions

View File

@ -43,7 +43,7 @@ fi
if [ "$project" = "ccp" ]
then
LOCAL_SERVICES+=" <tr>
<td>DKTK</td>
<td>CCP</td>
<td><a href=\"https://${HOST}/cpp-localdatamanagement/fhir/\">Blaze</a></td>
</tr>
"
@ -63,7 +63,6 @@ cat > ./landing/index.html <<EOL
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
</head>
<body class="d-flex flex-column min-vh-100">

View File

@ -53,4 +53,16 @@ else
echo "Done"
fi
echo "Checking ssl cert"
## Create SSL Cert
if [ ! -d "/certs" ]; then
echo "SSL cert missing, now we create one. Please consider getting a signed one"
mkdir certs
fi
if [ -d "/etc/bridgehead/traefik.crt" ]; then
openssl req -x509 -newkey rsa:4096 -nodes -keyout certs/traefik.key -out certs/traefik.crt -days 365
fi
echo "All prerequisites are met!"