Skip to content

Commit a38ec52

Browse files
Merge pull request #3117 from AnimeshKotka/spelling-fixes
docs(documentation): Fix spelling mistake
2 parents b3d6835 + 72e7dd3 commit a38ec52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/microservices/basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ After 5 seconds, if the microservice isn't responding, it will throw an error.
413413

414414
#### TLS support
415415

416-
WWhen communicating outside of a private network, it’s important to encrypt traffic to ensure security. In NestJS, this can be achieved with TLS over TCP using Node's built-in [TLS](https://nodejs.org/api/tls.html) module. Nest provides built-in support for TLS in its TCP transport, allowing us to encrypt communication between microservices or clients.
416+
When communicating outside of a private network, it’s important to encrypt traffic to ensure security. In NestJS, this can be achieved with TLS over TCP using Node's built-in [TLS](https://nodejs.org/api/tls.html) module. Nest provides built-in support for TLS in its TCP transport, allowing us to encrypt communication between microservices or clients.
417417

418418
To enable TLS for a TCP server, you'll need both a private key and a certificate in PEM format. These are added to the server's options by setting the `tlsOptions` and specifying the key and cert files, as shown below:
419419

0 commit comments

Comments
 (0)