DEV Community

Discussion on: Node, Express, SSL Certificate: Run HTTPS Server from scratch in 5 steps

Collapse
 
radulle profile image
Nikola Radulaški

It is best practice to put Node behind Nginx or Apache for several reasons:

  1. Offloading encryption
  2. Offloading Node when serving static content
  3. Handling errors when Node crashed or is restarting
  4. Load balancing
  5. Cache control ...
Collapse
 
omergulen profile image
Ömer Gülen

Thanks!