mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
refactor: Add logging for writing custom certificates to disk
This commit is contained in:
parent
d072a29cf8
commit
f5d2c61a70
@ -53,6 +53,8 @@ export default class Jobs {
|
|||||||
`/etc/nginx/certs/StatusPageCerts/${cert.domain}.key`,
|
`/etc/nginx/certs/StatusPageCerts/${cert.domain}.key`,
|
||||||
cert.certificateKey?.toString() || "",
|
cert.certificateKey?.toString() || "",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
logger.debug(`Wrote custom certs to disk for domain: ${cert.domain}`);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -66,6 +66,10 @@ export default class Jobs {
|
|||||||
`/etc/nginx/certs/StatusPageCerts/${cert.domain}.key`,
|
`/etc/nginx/certs/StatusPageCerts/${cert.domain}.key`,
|
||||||
cert.customCertificateKey?.toString() || "",
|
cert.customCertificateKey?.toString() || "",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
logger.debug(
|
||||||
|
`Wrote custom certs to disk for domain: ${cert.fullDomain}`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user