If you're watching this video and wondering if it's the proper place to learn nginx, trust me, it is. Thank you for taking the time to prepare such valuable stuff, mate.
Nginx acts as a web server, load balancer, and encryption tool 00:05 ✦ Use Nginx as Reverse Proxy 07:18 ✦ Configuring nginx to serve static HTML and CSS files 13:37 ✦ Learned about MIME types and location context in NGINX 20:08 ✦ Using alias instead of root in NGINX configuration 26:12 ✦ Learned about location block in nginx 32:37 ✦ Configure and build a Docker container for a Node.js server 38:51 ✦ Load balance across multiple servers using Nginx 44:58
Returning here 2 years after I first saw the video, I realised just now how much I have learnt. I am so grateful for your channel, everytNice tutorialng
at 16:10, if you are using WSL and trying to put your windows directory such as for example "D:\projects\website", it won't work, and you will get a 404 error. What you need to do is to go to that directory in file explorer, right click and open terminal, run the 'bash' command to launch Linux in that particular directory. You will see the same path for the directory from the Linux perspective, it will look like something like "/mnt/d/projects/website". THAT is the correct path to copy to the nginx.config file (without quote). Hope this helps.
This was soooo well timed for me 😅 I just taught myself docker, but somewhere during my learning process, I came across the NGINX image, and while the instructions for using it to deploy my react app build were simple enough, I didn't really know what I was doing. This video provided awesome background info for me. Also, I binged your 3.5hr GraphQL course yesterday/today, so you're literally educating me 🏆. You rock man, keep it up bro! Greetings from Athens. Athens, Ohio, that is 😂
We are living the same life right now lol. I just add to start learning NGNIX; I can get it to work but have no clue what I was doing or why lol. It's been a fun week. This video was just perfect.... Now got to look up 3.5 Graph lol. Fun ride.
I've already watched a lot of NGINX tutorials and I will watch a lot more. So far though no tutorial has offered nearly as much practical knowledge as this one. Cheers.
Awesome course, it helped me alot. please keep up this great work. but just a comment on 07:30 (HTTPS), NGINX will encrypt the traffic with client, but decrypt it with servers.
I was looking to learn what is NGINX because I will be needing it in my work and other tutorials are years away from how good this tutorial is it covers what it is how to set it up and use it in a fast and comprehensive way. Thanks for taking the time and making a well done tutorial like this.
It was simply incredible. I started this video without knowing anything about nginx. I made some notes to deepen my knowledge on some topics such as load balancer performance, autoscaling and redirection. Thank you for this class!! 🇧🇷
I'm not so Experience but this video is worth a tym just dont try to skip and watch bcuz it disconnects ,while this content is great for beginner to understand what ,why exactly the nginx is and what it is used for .I will say brother your way of teaching, like starting from therotical explanation -->than installation-->than practical implementation with different examples.It's cool Brooo.U can even eloberate Installatuon more or a special clickbait for those and Source code would be like cherry on Cake .Thanks Buddy.GBU
Amazing video, you covered so many of my questions since I am currently building an express server and was looking into proxy passing with load balancing. Couldn't have asked for anything better. Would have loved to seen the proof at the end tho.
Great video, got me on my feet for nginx 36:45 the regular expression (\w+) in rewrite ^/number/(\w+) is only allowing word characters, excluding numbers so when it rewrites to location ~* /count/[0-9], this context is only looking for numbers, the rewrite may 404 the fix would be to replace (\w+) to (\d+) or reuse the context regex ([0-9]+)
@6:50 the server does not encrypt the requests sent by a client web browser, it's the client which encrypts the HTTPS requests before sending them the server only encrypts the data that it sends
Quality content and very well structured course. I like the pedagogical structure of building knowledge in layers that you use! Well done! Instant sub!
Thanks, good introductory video on nginx! To better show that load balancer is working you could've introduced env variable in docker file and print this variable by express server, and different variables can be passed when you spin up a container.
So I am also using Express and node as my backend but I’m wondering how do you make nginx deliver those endpoints without having to create a location context for every single one or is that the only way? I have EJS html pages being served by Express and even some regex captures on some endpoints. I saw you could use regex on the context but would that also work on directives? I’m trying to figure out the best way to go about this. Thank you for an amazing tutorial btw!
great piece of knowledge, but a wish to see part2 where there is a section called "security" which is very important today, security headers, path traversal etc ;)
Excellent video! Would nginx work the same way if you also had an nginx container to use as a load balancer for other containerized apps? And can nginx spin up more containers if needed?
This is the best video i have seen so far to Nginx. Thank you for explaining it in detail about the directives. Can you make a video on file upload part?
Well, Explained Sir. I saw the edureca video also, but I didn't understand much. but, you nailed it with your explanation sir. Please continue your contents
I am having difficulty configuring engine x for SSL secure page loading. The rtmp stream viewer HTML file that I'm using runs under engine X but my main internet Information Services server has ssl. Now I was able to download an extra SSL certificate for engine X but I haven't been able to configure it to get it to actually make that content secure. So we go from my secure page to my non SSL viewer HTML file and that's a problem.
If you're watching this video and wondering if it's the proper place to learn nginx, trust me, it is. Thank you for taking the time to prepare such valuable stuff, mate.
Thanks, mate. I was unsure, which course to watch. Gladly, I read your comment and chose this one.
thank you, i'll stick
I had watched this comment before the first frame of the video appeared.
Thank you, mate!
He made it look too simple that I began to doubt it
within 20 minutes, i've learned more about the web than from hours of online "tutors". you're amazing homie, you just earned a loyal subscriber.
This is so calm, no rushing, no pressure tech video I have ever watched.
Nginx acts as a web server, load balancer, and encryption tool
00:05
✦
Use Nginx as Reverse Proxy
07:18
✦
Configuring nginx to serve static HTML and CSS files
13:37
✦
Learned about MIME types and location context in NGINX
20:08
✦
Using alias instead of root in NGINX configuration
26:12
✦
Learned about location block in nginx
32:37
✦
Configure and build a Docker container for a Node.js server
38:51
✦
Load balance across multiple servers using Nginx
44:58
wait did I just finish the course, I'm sure I came here just to explore what is NGINX about.THIS IS SMOOTH
Returning here 2 years after I first saw the video, I realised just now how much I have learnt. I am so grateful for your channel, everytNice tutorialng
at 16:10, if you are using WSL and trying to put your windows directory such as for example "D:\projects\website", it won't work, and you will get a 404 error. What you need to do is to go to that directory in file explorer, right click and open terminal, run the 'bash' command to launch Linux in that particular directory. You will see the same path for the directory from the Linux perspective, it will look like something like "/mnt/d/projects/website". THAT is the correct path to copy to the nginx.config file (without quote). Hope this helps.
Give this man the internet.
He deserves it!
This was soooo well timed for me 😅
I just taught myself docker, but somewhere during my learning process, I came across the NGINX image, and while the instructions for using it to deploy my react app build were simple enough, I didn't really know what I was doing. This video provided awesome background info for me. Also, I binged your 3.5hr GraphQL course yesterday/today, so you're literally educating me 🏆. You rock man, keep it up bro!
Greetings from Athens. Athens, Ohio, that is 😂
We are living the same life right now lol. I just add to start learning NGNIX; I can get it to work but have no clue what I was doing or why lol.
It's been a fun week. This video was just perfect.... Now got to look up 3.5 Graph lol. Fun ride.
Greetings from Dayton OH. I’m on the same learning path as you
ohio 💀
lol me too
Great content, thanks a bunch!
thank you, from someone who couldn't navigate his way through the blinding codes of nginx who now feels blessed to know this.
I've already watched a lot of NGINX tutorials and I will watch a lot more. So far though no tutorial has offered nearly as much practical knowledge as this one. Cheers.
Awesome course, it helped me alot. please keep up this great work.
but just a comment on 07:30 (HTTPS), NGINX will encrypt the traffic with client, but decrypt it with servers.
Thank you my friend
This is the kind of crash course I needed to understand Nginx, as I prepare to deploy my first Django DRF app.
the best Nginx tutorial on youtube. Thanks man for your video.
Best NGINX course out there. Don't go looking anywhere else, this is the one
Thank you so much for all the great videos that you made! Everything is so detailed, step-by-step and doesn't create any confusion!
I was looking to learn what is NGINX because I will be needing it in my work and other tutorials are years away from how good this tutorial is it covers what it is how to set it up and use it in a fast and comprehensive way.
Thanks for taking the time and making a well done tutorial like this.
I want to thank you for the excellent way you explained and elaborated on the topic. It's the best video I've seen in 2024.
It was simply incredible. I started this video without knowing anything about nginx. I made some notes to deepen my knowledge on some topics such as load balancer performance, autoscaling and redirection. Thank you for this class!! 🇧🇷
Understanding Nginx for beginners. The explanations are on point and easy to grasp. Thank you.
Absolutely.
Merci!
Wanted to try it out :)
This is much better than any Udemy Course, Thanks man
I'm not so Experience but this video is worth a tym just dont try to skip and watch bcuz it disconnects ,while this content is great for beginner to understand what ,why exactly the nginx is and what it is used for .I will say brother your way of teaching, like starting from therotical explanation -->than installation-->than practical implementation with different examples.It's cool Brooo.U can even eloberate Installatuon more or a special clickbait for those and Source code would be like cherry on Cake .Thanks Buddy.GBU
Really liked how calmly you described things without rushing
Huge thanks!!! I was always looking for a tutorial that would clarify the fog around ngnix until this video I didn't find. This video is a diamond!!!
I was trying so hard to learn this from days but nobodies tutorial was clear like yours man thank you so much
thank you so much, That was so helpful. I now understood what nginx really is.
Thank you again from Uzbekistan 🇺🇿
Thanks for the premium content, good luck to everyone ❤
Thank you ❤ the way you started the video explaining why we need nginx and what are the problems that nginx is going to solve is 👏👏
Amazing video, you covered so many of my questions since I am currently building an express server and was looking into proxy passing with load balancing. Couldn't have asked for anything better. Would have loved to seen the proof at the end tho.
Thanks
Great video, got me on my feet for nginx
36:45 the regular expression (\w+) in rewrite ^/number/(\w+) is only allowing word characters, excluding numbers
so when it rewrites to location ~* /count/[0-9], this context is only looking for numbers, the rewrite may 404
the fix would be to replace (\w+) to (\d+) or reuse the context regex ([0-9]+)
so easy to understand explained 'what is NGINX' !
@6:50 the server does not encrypt the requests sent by a client web browser, it's the client which encrypts the HTTPS requests before sending them
the server only encrypts the data that it sends
TNice tutorials is absolutly the best video of the world you expaining skills are good and it was a honor to see tNice tutorials vid well done
Difficult concepts broken down into simple, consumable bites of information. Well done, and thank you!
This is worth watching I would recommend it to everybody thanks for this soundful knowledge...
The crystal celar explanation i've ever seen on YT, well done sir
Quality content and very well structured course. I like the pedagogical structure of building knowledge in layers that you use! Well done! Instant sub!
It's scratching my itchy back nicely ! AWESOME
Thanks, great video.
Super video over NGINX, now I have a better understanding of NGINX!👌
Many many thanks brother for this toturial ❤️🙏👍
Love from India ❤️❤️
This is the most coherent nginx video I have found - thank you!
I needed a refresh, thanks for the video man.
simply amazing thank you very very much!!
Thank you so much! Really concise, easy to follow and understand your explanations.
Learned a lot!!!!!!!!!!!!!!!!!! do watch, you may come across many problems but just don't give up eventually you will learn
What a great tutorial!!! Hats off to you!
God Bless You! You are an Angel.
I'm Subscribed for life!
well done bro you have done this course in avalubel way. thanks
This channel deserves more subscribers
Great piece! Enjoyed every bit of it.
5:08 I think the latency would get extremely high rather than low :)
Thanks, good introductory video on nginx! To better show that load balancer is working you could've introduced env variable in docker file and print this variable by express server, and different variables can be passed when you spin up a container.
Thank you sir. Excellent content. Nginx has been kicking my behind.
So I am also using Express and node as my backend but I’m wondering how do you make nginx deliver those endpoints without having to create a location context for every single one or is that the only way? I have EJS html pages being served by Express and even some regex captures on some endpoints. I saw you could use regex on the context but would that also work on directives? I’m trying to figure out the best way to go about this. Thank you for an amazing tutorial btw!
Amazing. Please do more on architecture.
May Allah save you and bless your parents
Thank you so much! this video is very helpful and straightforward🙏
Amazing crash course! Learned a lot.
Thank you
Thanks for this valuable course!!
best nginx video so far!
Really excellent well explained content thanks
@30:20 is that necessary to add the /vegetables dir name at the try_files directive?
Best class about nginx!
Awesome course!!! big thanks!!
Finally, the perfect NGINX tutorial exists!
great piece of knowledge, but a wish to see part2 where there is a section called "security" which is very important today, security headers, path traversal etc ;)
very informative and well explained! thank you for this amazing tutorial.
Somehow I was exploring to learning nginx and this is great one.
Excellent video!
Would nginx work the same way if you also had an nginx container to use as a load balancer for other containerized apps? And can nginx spin up more containers if needed?
whats the purpose of load balamcing when the host machine is same? means the hardware that we have is constant why not just use 1 container?
Awesome! Thank you for making this.. It is really helpful for beginners..
This is the best video i have seen so far to Nginx. Thank you for explaining it in detail about the directives. Can you make a video on file upload part?
what if i cannot reload the page with the terminal, it gives the error "The term 'nginx' is not recognized as the name"?
Hello 👋 Great job, thanks for this guide. I hope to see more detailed ssl configuration via nginx :)
Thanks a lot!😍, sharing this video with many others.
This is really very good, wish you would come up with videos on nginx in pods of k8s.
Yes I would take your word for it 😁 great content. This is so good.
21:00 There is 'Disable cache' button on Network tab. Thanks for tutorial
At time 5:10 do you mean high latency when the server gets overwhelmed?
Super tutorial. Extremely helpful for someone who is a beginner, especially for a noob like me 😛.
Thanks Man!
Great content with awesome teaching style 👍👍👍
This is high quality material💯
Great crash course. Thank you!
Excellent quality-full content
I have a question, why not use express run different port? I think use docker is redundant.
Well, Explained Sir. I saw the edureca video also, but I didn't understand much. but, you nailed it with your explanation sir. Please continue your contents
Only one word, *Excellent!* 🙏
Brilliant, thanks for an excellent tutorial !
I really appreciate for this quick couse.
Thank you for this video. Very helpful
omg I love you bro thanks for making this awesome video 🎉🎉
I am having difficulty configuring engine x for SSL secure page loading. The rtmp stream viewer HTML file that I'm using runs under engine X but my main internet Information Services server has ssl. Now I was able to download an extra SSL certificate for engine X but I haven't been able to configure it to get it to actually make that content secure. So we go from my secure page to my non SSL viewer HTML file and that's a problem.
Great course.🚀Thank you !!!
how can we write regular expression for this
location /folder/#123{
..
}
This is a gold. Other tutorials or articles or StackOverflow answers are so terrible .
Thank you so much for this. Absolutely fantastic resource
20:50 - you forgot to click on the "disable cache" button in the top right ... which is why you kept having to do a hard reload.