#15 DevOps From Scratch | Simple Dynamic Website with NodeJS + Nginx, Proxy and Reverse Proxy

preview_player
Показать описание
With this video we are going to setup a simple dynamic website and get familiar with the concepts of reverse proxying in a production environment.

00:00 Intro
00:50 What we will learn
01:55 Proxy servers
03:12 Reverse Proxy
03:51 Why reverse proxy
05:51 NodeJS
06:48 What we setting up
07:45 Installing NodeJS
08:30 Creating simple NodeJS app
13:10 Making request to our app
13:20 Empty reply from server
13:55 Opening our app in browser
14:35 Configuring reverse proxy
15:40 proxy_pass
16:25 Making request to reverse proxy
17:22 Bad Gateway
19:40 proxy_set_header
21:06 Today's recap
22:25 Feedback
Рекомендации по теме
Комментарии
Автор

This was SO helpful. There is a lot of terminology going around regarding server side development, and this really helped clarify how some of the pieces are supposed to fit together. Thank you! I personally have no complaints about the format of the video. I found it exceptionally easy to follow. I am very happy I stumbled across this.

Kodlak
Автор

When I was the first time getting to know the reverse proxy, I totally had no idea why it's called 'reverse'. Even the official site of Nginx didn't explain it very well. You did a great job, Mansoor!

neillin
Автор

you are a star..i repeat..you are a star! this is so much helpful, have just one request, please complete the entire series, would love to hear from you.

sayantanmitra
Автор

My feedback is that the structure is really good, I'm enjoying and learning a lot.

RuiDuartept
Автор

yes, the term reverse proxy well explained. But what I stiil did not understand is - if nginx isalready a high performamce server, why we need a node js server which is hancoded? An example of a dynamic web page runnning on browser and the data flow to ngin->nodejs and back to browser would have been very useful. Anyway, whatever presented is very useful. Good one Mansoor

pallanti_techtalk
Автор

Hi man! Great video as usually. I have a question, now you need to specify the host in the headers to actually point to the node js application. How do you point to the specific port (in this case 3000) by default? Im not sure if the question makes sense, other alternative could be to run the nodejs application in the port 80, what is the most common thing to do and why?

Thanks again!! love your videos and they are helping me a lot!!

patriciocabo
Автор

You did a great job explaining nginx reverse proxy and nodejs, i am thinking of bringing some of your content to my channel (Spanish speaking) so people that dont understand english so much can learn this concepts aswell. Would this be a problem?

Thanks for the video and keep the good work mate!

padawanpath
Автор

Can you make some videos on how nginx load balances java ee apps running on Websphere or Weblogic servers?

avanthaditya
Автор

Good video.
Mansoor I'm learning flask/django.
So should I also go for node.js?
I didn't have any prior knowledge regarding javascript.

devendrasahu
visit shbcf.ru