I'm a tech enthusiast who loves building cool things with code. From tinkering with software systems to exploring the latest tools and technologies across multiple fields.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Followed every single step. Great article.
Thanks! I'm glad.
Why don't use nginx instead ?
or is there any advantage of this over nginx ?
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.