DEV Community

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

Collapse
 
naskkotech profile image
Olohundare Nasirudeen

Why don't use nginx instead ?

Thread Thread
 
naskkotech profile image
Olohundare Nasirudeen

or is there any advantage of this over nginx ?

Thread Thread
 
omergulen profile image
Ömer Gülen

I don't think this is a better way, this way is only for the cases Apache or nginx is not available to use, I've used this approach for quick and dirty development + staging environment when I've recently created one of my test projects.

I recommend to put express server behind another layer such as nginx in production as @rahmatalimalik5 mentioned.