The NGINX Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 302

  • @natnaelsisay1424
    @natnaelsisay1424 2 ปีที่แล้ว +480

    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.

    • @maxgrxs485
      @maxgrxs485 2 ปีที่แล้ว +6

      Thanks, mate. I was unsure, which course to watch. Gladly, I read your comment and chose this one.

    • @briandacallos4234
      @briandacallos4234 2 ปีที่แล้ว +3

      thank you, i'll stick

    • @minhly650
      @minhly650 2 ปีที่แล้ว +3

      I had watched this comment before the first frame of the video appeared.

    • @tomaszbrewka
      @tomaszbrewka ปีที่แล้ว

      Thank you, mate!

    • @paschalokafor9043
      @paschalokafor9043 ปีที่แล้ว +2

      He made it look too simple that I began to doubt it

  • @GaldinoTrashaj
    @GaldinoTrashaj ปีที่แล้ว +10

    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.

  • @harcoptoluwap3998
    @harcoptoluwap3998 2 ปีที่แล้ว +8

    This is so calm, no rushing, no pressure tech video I have ever watched.

  • @othman_
    @othman_ ปีที่แล้ว +35

    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

  • @Nab_001
    @Nab_001 ปีที่แล้ว +3

    wait did I just finish the course, I'm sure I came here just to explore what is NGINX about.THIS IS SMOOTH

  • @rahulshekhar8498
    @rahulshekhar8498 2 ปีที่แล้ว +4

    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

  • @hamz556
    @hamz556 11 หลายเดือนก่อน +4

    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.

  • @kompila
    @kompila ปีที่แล้ว +3

    Give this man the internet.
    He deserves it!

  • @ozzyfromspace
    @ozzyfromspace 2 ปีที่แล้ว +118

    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 😂

    • @stanknight9159
      @stanknight9159 2 ปีที่แล้ว +4

      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.

    • @choahjinhuay
      @choahjinhuay ปีที่แล้ว

      Greetings from Dayton OH. I’m on the same learning path as you

    • @TheScriptan
      @TheScriptan ปีที่แล้ว +1

      ohio 💀

    • @SergieArizandieta
      @SergieArizandieta ปีที่แล้ว

      lol me too

  • @devzilik
    @devzilik ปีที่แล้ว +1

    Great content, thanks a bunch!

  • @siddharthupadhyay4246
    @siddharthupadhyay4246 9 หลายเดือนก่อน

    thank you, from someone who couldn't navigate his way through the blinding codes of nginx who now feels blessed to know this.

  • @mitzee8621
    @mitzee8621 2 ปีที่แล้ว +16

    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.

  • @suhaibalrabee9399
    @suhaibalrabee9399 ปีที่แล้ว +3

    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.

  • @kenkioqqo
    @kenkioqqo ปีที่แล้ว +2

    This is the kind of crash course I needed to understand Nginx, as I prepare to deploy my first Django DRF app.

  • @shakhawathossain3207
    @shakhawathossain3207 ปีที่แล้ว +2

    the best Nginx tutorial on youtube. Thanks man for your video.

  • @abduladilsunnat2489
    @abduladilsunnat2489 ปีที่แล้ว

    Best NGINX course out there. Don't go looking anywhere else, this is the one

  • @unmandarinoalgiorno...9321
    @unmandarinoalgiorno...9321 2 หลายเดือนก่อน

    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!

  • @mohbkhaled6051
    @mohbkhaled6051 ปีที่แล้ว +3

    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.

  • @MohamedElgharef
    @MohamedElgharef 11 หลายเดือนก่อน

    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.

  • @VictorWallaceCassianoSantos
    @VictorWallaceCassianoSantos ปีที่แล้ว

    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!! 🇧🇷

  • @erastowamuti9434
    @erastowamuti9434 ปีที่แล้ว +5

    Understanding Nginx for beginners. The explanations are on point and easy to grasp. Thank you.

    • @kompila
      @kompila ปีที่แล้ว +1

      Absolutely.

  • @laithacademy
    @laithacademy  2 ปีที่แล้ว +3

    Merci!

    • @laithacademy
      @laithacademy  2 ปีที่แล้ว +2

      Wanted to try it out :)

  • @maskawathlatif4190
    @maskawathlatif4190 2 ปีที่แล้ว +5

    This is much better than any Udemy Course, Thanks man

  • @dragonhot6951
    @dragonhot6951 ปีที่แล้ว

    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

  • @roshanthapa25
    @roshanthapa25 2 ปีที่แล้ว +1

    Really liked how calmly you described things without rushing

  • @ינוןאלבז-כ1ז
    @ינוןאלבז-כ1ז ปีที่แล้ว +1

    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!!!

  • @ankushagarwal7378
    @ankushagarwal7378 ปีที่แล้ว

    I was trying so hard to learn this from days but nobodies tutorial was clear like yours man thank you so much

  • @ozodbekjuraev9268
    @ozodbekjuraev9268 2 ปีที่แล้ว

    thank you so much, That was so helpful. I now understood what nginx really is.
    Thank you again from Uzbekistan 🇺🇿

  • @abdo-ar-888
    @abdo-ar-888 ปีที่แล้ว

    Thanks for the premium content, good luck to everyone ❤

  • @bayyavasu1325
    @bayyavasu1325 ปีที่แล้ว +1

    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 👏👏

  • @TheEricon
    @TheEricon 2 ปีที่แล้ว +16

    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.

  • @juliojordan
    @juliojordan ปีที่แล้ว

    Thanks

  • @diakuns
    @diakuns ปีที่แล้ว +1

    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]+)

  • @dilshodasrayev6241
    @dilshodasrayev6241 ปีที่แล้ว

    so easy to understand explained 'what is NGINX' !

  • @fabrice9848
    @fabrice9848 4 หลายเดือนก่อน +1

    @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

  • @skyliferp_marcel9743
    @skyliferp_marcel9743 2 ปีที่แล้ว

    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

  • @YasarHabib
    @YasarHabib ปีที่แล้ว

    Difficult concepts broken down into simple, consumable bites of information. Well done, and thank you!

  • @officialismailshah
    @officialismailshah ปีที่แล้ว

    This is worth watching I would recommend it to everybody thanks for this soundful knowledge...

  • @onnewf9288
    @onnewf9288 2 ปีที่แล้ว

    The crystal celar explanation i've ever seen on YT, well done sir

  • @HideBuz
    @HideBuz ปีที่แล้ว +2

    Quality content and very well structured course. I like the pedagogical structure of building knowledge in layers that you use! Well done! Instant sub!

  • @data_dreamer
    @data_dreamer 11 หลายเดือนก่อน

    It's scratching my itchy back nicely ! AWESOME

  • @devilgene7330
    @devilgene7330 ปีที่แล้ว +1

    Thanks, great video.

  • @richardo8942
    @richardo8942 2 ปีที่แล้ว

    Super video over NGINX, now I have a better understanding of NGINX!👌

  • @Superuser-r1y
    @Superuser-r1y 2 ปีที่แล้ว +1

    Many many thanks brother for this toturial ❤️🙏👍
    Love from India ❤️❤️

  • @mikep4981
    @mikep4981 ปีที่แล้ว

    This is the most coherent nginx video I have found - thank you!

  • @joehax
    @joehax ปีที่แล้ว

    I needed a refresh, thanks for the video man.

  • @davidpccode
    @davidpccode ปีที่แล้ว +1

    simply amazing thank you very very much!!

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 11 หลายเดือนก่อน

    Thank you so much! Really concise, easy to follow and understand your explanations.

  • @AadiManchekar
    @AadiManchekar 2 ปีที่แล้ว

    Learned a lot!!!!!!!!!!!!!!!!!! do watch, you may come across many problems but just don't give up eventually you will learn

  • @kelashkumarkhatri5863
    @kelashkumarkhatri5863 18 วันที่ผ่านมา

    What a great tutorial!!! Hats off to you!

  • @maddiem-sg4vi
    @maddiem-sg4vi ปีที่แล้ว

    God Bless You! You are an Angel.
    I'm Subscribed for life!

  • @ammaralghouli
    @ammaralghouli ปีที่แล้ว

    well done bro you have done this course in avalubel way. thanks

  • @hos7012
    @hos7012 2 ปีที่แล้ว

    This channel deserves more subscribers

  • @lexNwimue
    @lexNwimue ปีที่แล้ว

    Great piece! Enjoyed every bit of it.

  • @flesz_
    @flesz_ ปีที่แล้ว +5

    5:08 I think the latency would get extremely high rather than low :)

  • @thepantelemon
    @thepantelemon ปีที่แล้ว +1

    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.

  • @LordSniphar
    @LordSniphar ปีที่แล้ว

    Thank you sir. Excellent content. Nginx has been kicking my behind.

  • @reyariass
    @reyariass 5 หลายเดือนก่อน

    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!

  • @saadowain3511
    @saadowain3511 2 ปีที่แล้ว +1

    Amazing. Please do more on architecture.
    May Allah save you and bless your parents

  • @GaBlack-wo9vx
    @GaBlack-wo9vx หลายเดือนก่อน

    Thank you so much! this video is very helpful and straightforward🙏

  • @leosilva0411
    @leosilva0411 ปีที่แล้ว

    Amazing crash course! Learned a lot.
    Thank you

  • @ShaliniRavi369
    @ShaliniRavi369 16 วันที่ผ่านมา

    Thanks for this valuable course!!

  • @TimurBabadjanov-t1g
    @TimurBabadjanov-t1g 11 หลายเดือนก่อน

    best nginx video so far!

  • @yd1000
    @yd1000 3 หลายเดือนก่อน +1

    Really excellent well explained content thanks

  • @donny533
    @donny533 ปีที่แล้ว

    @30:20 is that necessary to add the /vegetables dir name at the try_files directive?

  • @XuWanping
    @XuWanping ปีที่แล้ว

    Best class about nginx!

  • @zael7848
    @zael7848 วันที่ผ่านมา

    Awesome course!!! big thanks!!

  • @iforcollege
    @iforcollege 2 ปีที่แล้ว

    Finally, the perfect NGINX tutorial exists!

  • @RK-ly5qj
    @RK-ly5qj ปีที่แล้ว

    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 ;)

  • @mustafaharoun
    @mustafaharoun ปีที่แล้ว

    very informative and well explained! thank you for this amazing tutorial.

  • @nishanthprabhu
    @nishanthprabhu 2 ปีที่แล้ว

    Somehow I was exploring to learning nginx and this is great one.

  • @norman123123
    @norman123123 2 ปีที่แล้ว +6

    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?

  • @mianaliasjad
    @mianaliasjad 5 หลายเดือนก่อน

    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?

  • @avinashkumargumparthi1571
    @avinashkumargumparthi1571 ปีที่แล้ว

    Awesome! Thank you for making this.. It is really helpful for beginners..

  • @kalyan755
    @kalyan755 ปีที่แล้ว

    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?

  • @_grazylemon_1943
    @_grazylemon_1943 ปีที่แล้ว +1

    what if i cannot reload the page with the terminal, it gives the error "The term 'nginx' is not recognized as the name"?

  • @archyt88
    @archyt88 2 ปีที่แล้ว +5

    Hello 👋 Great job, thanks for this guide. I hope to see more detailed ssl configuration via nginx :)

  • @devdatkumar4970
    @devdatkumar4970 ปีที่แล้ว

    Thanks a lot!😍, sharing this video with many others.

  • @Roopa-bn6nj
    @Roopa-bn6nj ปีที่แล้ว

    This is really very good, wish you would come up with videos on nginx in pods of k8s.

  • @pemiolatunji3892
    @pemiolatunji3892 2 ปีที่แล้ว

    Yes I would take your word for it 😁 great content. This is so good.

  • @ramicchik3152
    @ramicchik3152 ปีที่แล้ว

    21:00 There is 'Disable cache' button on Network tab. Thanks for tutorial

  • @ScubaDrew615
    @ScubaDrew615 ปีที่แล้ว

    At time 5:10 do you mean high latency when the server gets overwhelmed?

  • @rpauipathwithnv3481
    @rpauipathwithnv3481 2 ปีที่แล้ว

    Super tutorial. Extremely helpful for someone who is a beginner, especially for a noob like me 😛.
    Thanks Man!

  • @sany2k8
    @sany2k8 ปีที่แล้ว

    Great content with awesome teaching style 👍👍👍

  • @romeocapuletti2425
    @romeocapuletti2425 9 หลายเดือนก่อน

    This is high quality material💯

  • @diennguyen-ss8lb
    @diennguyen-ss8lb ปีที่แล้ว

    Great crash course. Thank you!

  • @sharvyahmed
    @sharvyahmed ปีที่แล้ว

    Excellent quality-full content

  • @zhoualias5481
    @zhoualias5481 ปีที่แล้ว

    I have a question, why not use express run different port? I think use docker is redundant.

  • @techbro3085
    @techbro3085 2 ปีที่แล้ว

    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

  • @LaxmikantBhumkar
    @LaxmikantBhumkar ปีที่แล้ว

    Only one word, *Excellent!* 🙏

  • @vsevolodcerneavschi507
    @vsevolodcerneavschi507 2 ปีที่แล้ว +2

    Brilliant, thanks for an excellent tutorial !

  • @winmawoo2945
    @winmawoo2945 2 ปีที่แล้ว

    I really appreciate for this quick couse.

  • @himanshubhusanrath212
    @himanshubhusanrath212 ปีที่แล้ว

    Thank you for this video. Very helpful

  • @shinmini99
    @shinmini99 ปีที่แล้ว

    omg I love you bro thanks for making this awesome video 🎉🎉

  • @basspig
    @basspig 2 ปีที่แล้ว

    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.

  • @leventtugaykaplan3592
    @leventtugaykaplan3592 ปีที่แล้ว

    Great course.🚀Thank you !!!

  • @GANADAKSHAKAK
    @GANADAKSHAKAK ปีที่แล้ว

    how can we write regular expression for this
    location /folder/#123{
    ..
    }

  • @mefaba5363
    @mefaba5363 2 ปีที่แล้ว +1

    This is a gold. Other tutorials or articles or StackOverflow answers are so terrible .

  • @BallstinkBaron
    @BallstinkBaron 2 ปีที่แล้ว

    Thank you so much for this. Absolutely fantastic resource

  • @spondoolie6450
    @spondoolie6450 11 หลายเดือนก่อน

    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.