Hi @3Pi, this is something that would be done at the NodeJS level (and below, in the operating system). It is not something that would be configured in TypeScript, as far as I know, because it's a server issue.
There is an earlier thread talking about how to use Let's Encrypt with NodeJS: