Serving Static Files with Nginx

preview_player
Показать описание
Learn how to speed up your Expressjs server by letting Nginx handle static files.

Code:

Links from video:

----
Video Suggestions:

----
Follow Me Online Here:

----
#benawad

----
#benawad
Рекомендации по теме
Комментарии
Автор

ben saving my ass fucking 4 years later

albert
Автор

hey ben for some reason when i start my container locally nginx spits into the log, but when i do it from the virtual private server theres nothing in the log and i cant access i just get the "page not found" error

andresmurguido
Автор

Can you do http2 with nginx. But we will needing a self signed certificate for that for testing though. Also we should use process manager for nodejs like pm2 or forever which will respawn the app if it ever crashes.

harshitpant