What is the purpose of a reverse proxy (like Nginx) in front of a Node.js application?
-
A
To compile JavaScript before serving it
-
B
To handle SSL termination, load balancing, and static file serving
-
C
To replace the need for a database connection pool
-
D
To transpile TypeScript on the fly