do not use bundle terminology

apparently, bundle is also like a cert chain
This commit is contained in:
Girish Ramakrishnan
2022-07-14 12:39:41 +05:30
parent ba067a959c
commit d33fd7b886
4 changed files with 58 additions and 58 deletions

View File

@@ -204,18 +204,18 @@ async function getAddonMounts(app) {
break;
}
case 'tls': {
const bundle = await reverseProxy.getCertificatePath(app.fqdn, app.domain);
const certificatePath = await reverseProxy.getCertificatePath(app.fqdn, app.domain);
mounts.push({
Target: '/etc/certs/tls_cert.pem',
Source: bundle.certFilePath,
Source: certificatePath.certFilePath,
Type: 'bind',
ReadOnly: true
});
mounts.push({
Target: '/etc/certs/tls_key.pem',
Source: bundle.keyFilePath,
Source: certificatePath.keyFilePath,
Type: 'bind',
ReadOnly: true
});