NGINX Explained in 100 Seconds

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

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

  • @hnasr
    @hnasr 4 ปีที่แล้ว +952

    I absolutely love this! As someone who made several videos on NginX I understand how difficult to summarize this tech in 100 seconds. Amazing as usual.

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

      but 100s not enough!

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

      I was wondering what buffer and filler to put in the Nginx video to make it up to 100 seconds. Typically developer spends 15 seconds editing configuration file and lately, machines are doing it automatically with stubs that insert domain name and that's it.

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

      Videos

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

      Nice to see one of my favourite content creators on youtube, on a video from another of my favourite content creator on youtube. :D

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

      We love you too for your content :)🤩

  • @nickstrands
    @nickstrands 4 ปีที่แล้ว +3264

    Just learned it's pronounced Engine X ... I've been calling it N-Jinx all this time.

    • @theteacher010
      @theteacher010 4 ปีที่แล้ว +103

      Was just gonna make this exact comment. 2 seconds into the comment I hear how he pronounces it and I realize what a buffoon I was for calling it "Nuh-Jynx" in my head this whole time LOL.

    • @MattB90
      @MattB90 4 ปีที่แล้ว +49

      we've all been there, I remember ordering an akai (acai) bowl once lol

    • @FlorianEagox
      @FlorianEagox 4 ปีที่แล้ว +33

      I always hear N ginx when I read it. I have to watch myself when talking with other developers or I'll say it and sound silly

    • @akj7
      @akj7 4 ปีที่แล้ว +43

      They wanted to name the Server EngineX but the name was already taken. Solution: Name it NGinX and tell people to read EngineX.

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

      Same here lol

  • @wontonfuton
    @wontonfuton 4 ปีที่แล้ว +271

    This is where the web really gets complicated and scary for me. Awesome explanation as always and now I know atleast something about nginx.

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

      This is not really that bad. Just read about it several days and listen several videos about it and you'll be fine. It may be scary first, but you won't believe how much you actually can understand when given enough time.

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

      It was actually quite the opposite for me
      Using nginx made me realize how everything works. Beforehand, concepts that were taught out of context, like IPs DNSs, nameservers, and others, really confused me. Using nginx just let me see through a more practical point of view

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

      @@jamhamtime1878 Exactly using Nginx will give you idea how a request from user reach to server and back to user. It's quite confusing at first but once you understand it's not that hard.

  • @Ownage4lif31
    @Ownage4lif31 4 ปีที่แล้ว +45

    Man I found out about nginx after my server was getting destroyed by thousands of concurrent requests. By far the easiest Web server to configure and deal with. Wasted so long in Apache trash, only to find out nginx exists. So glad I did. Load balancing op

    • @chris-zlrr
      @chris-zlrr ปีที่แล้ว

      Dammnn no way you got ddos'ed

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

      @@chris-zlrr it wasn't a ddos just site traffic increased and I didn't realize how taxing basic requests are lol

  • @muhammadsami479
    @muhammadsami479 4 ปีที่แล้ว +950

    Dude make web assembly in 100 seconds !

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

    Fun fact about this channel if you have watched all 100 seconds vedios series, congratulations you are system designer!

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

    These 100 second videos are great. I watch one and I feel like I've done my work for the day

  • @io-rf7ib
    @io-rf7ib 4 ปีที่แล้ว +111

    keep it up, you always amaze me with how much information you fit into these short videos!

  • @franciscoizaguirre9069
    @franciscoizaguirre9069 4 ปีที่แล้ว +483

    I was just getting into it then the 100 secs were up. Maybe it created a 200 sec followup, and then a 400 sec after that might be cool. just a thought. Love your content

    • @MattB90
      @MattB90 4 ปีที่แล้ว +7

      yeah cool tech and great video left me wanting more as well

    • @sharakpl
      @sharakpl 4 ปีที่แล้ว +6

      How about just one longer tutorial on setting up nginx on linux or wsl, first alone and then combined with apache server?

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

      Agreed

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

      @fireship do a 100 secs + 10 mins on this one

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

      Yes

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

    Please never stop making these, absolute Legend

  • @SiaarZH
    @SiaarZH 4 ปีที่แล้ว +13

    Finally, a 100 seconds about a topic I know more than the 100 seconds

  • @mrfred456123
    @mrfred456123 4 ปีที่แล้ว +22

    Just watched this 5 minutes before my backend developer interview. Now I am pro.

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

      hahahaha; doing the same here. Got a technical interview test next week on node.js/backend and so on.

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

    Most videos I watch on 2x speed - Fireship videos I sometimes have to slow to .75x - love the quality content / second on these videos

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

    Nginx is the best piece of software i have seen in decades

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

    I started using Nginx during this lockdown. It's unbelievably fast and easy to use.

  • @jacobc8388
    @jacobc8388 4 ปีที่แล้ว +81

    you should also explain Apache in 100 seconds

    • @Fireship
      @Fireship  4 ปีที่แล้ว +43

      That would only be fair :)

    • @h.hristov
      @h.hristov 4 ปีที่แล้ว +3

      pmuch the same shit but slower compared to nginx

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

      @@h.hristov any proof of concept that is slower?

    • @aureli4nus
      @aureli4nus 3 ปีที่แล้ว

      @@manojo123 yes

    • @manojo123
      @manojo123 3 ปีที่แล้ว

      @@aureli4nus thanks for the fast reply

  • @Mempler
    @Mempler 4 ปีที่แล้ว +27

    1:20 in true NGiNX fashion, you removed a couple of spaces at the first } bracket.

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

    I use this for Kali Linux and Web Development. Thanks.

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

    This video deserves a like for explaining things in 100 seconds

  • @reecevaughan4225
    @reecevaughan4225 4 ปีที่แล้ว +11

    Amazing! Varnish in 100 seconds would be awesome

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

    This series is like flutter widget of the week series. Love those. Keep them coming

  • @neagusergiu5708
    @neagusergiu5708 3 ปีที่แล้ว

    That's how all the tutorials and explanatory videos on the internet should look like.

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

    Straight to the point to the perfect tutorial ever. Thank you Fireship :D

  • @subvind
    @subvind 3 ปีที่แล้ว

    i am using nginx for kubernetes apps within a pod. i am happy with it. works great,

  • @programmer4047
    @programmer4047 4 ปีที่แล้ว +19

    Plz Make an in-depth tutorial on nginx

    • @yapayzeka
      @yapayzeka 4 ปีที่แล้ว

      definitly need this one

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

    Short clear description of Nginx!

  • @juxuanu
    @juxuanu 4 ปีที่แล้ว +59

    What about a follow up about nginx for deploying multiple dockers as backend that listen to the same port and the traffic gets redirected depending on the URI? For example, one for production, one for testing and one for development.

    • @diablo.the.cheater
      @diablo.the.cheater 3 ปีที่แล้ว +11

      Ah, that sounds like how we setup servers at my workplace, i love it, just copy and paste the folder with the server docker compose and folders so i have a duplicate, edit a couple files to give it a new port and name, run it, define a subdomain and configure the file in nginx and voila, new test server

  • @dragonarch0
    @dragonarch0 4 ปีที่แล้ว

    This brings back memories of how much I sucked at configuring nginx with php APIs.

  • @HomelessDeamon
    @HomelessDeamon 3 ปีที่แล้ว

    Kudos to who ever is involved in this channel 💪😄👍

  • @narutokunn
    @narutokunn 4 ปีที่แล้ว

    Learn NGINX in 7 Easy Steps - Full Beginner's Tutorial 🙋‍♂️🙋‍♂️🙋‍♂️
    Thankyou for you awesome content btw. This is one of the best channel I have found.

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

    You missed that Nginx was developed by Russian developer Igor Sysoev.

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

    Please make a video about caddy. I thibk not enough people know about it.

  • @Ratstail91
    @Ratstail91 8 หลายเดือนก่อน

    it's been years since I started fiddling with web stuff... this stuff makes more sense these days.

  • @elmotareal
    @elmotareal 4 ปีที่แล้ว +53

    this is good, now can we have a bit more than 100 seconds :) this is one of the things that personally kill me, docs of ngix don't help, so I usually end up doing my complicated reroutes in nodejs, wish I understood better how routing works

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

    Man, I'll make it short. I effin love your content. Thanks for making dumb coders like me less dumb by keeping things concise like this.

  • @me-me8ge
    @me-me8ge 4 ปีที่แล้ว

    A full video about nginx would be awesome!

  • @giancedrick507
    @giancedrick507 4 ปีที่แล้ว

    Best web development content all around.

  • @flannelbeard4621
    @flannelbeard4621 4 ปีที่แล้ว +15

    The reverse proxy part, I wanted more on that topic - literally the last second lol

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

      It's crazy cool! I needed to host two websites but did not want to spend money on a new IP address. I setup nginx reverse proxy and pointed one domain to each website under the same IP and port. It's free real estate

  • @poglord._
    @poglord._ 4 ปีที่แล้ว

    Cool dude. I am like 12 years old and love your videos. Keep it up !

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

    Besides website Nginx can also be used for email server and video streaming server using RTMP + FFmpeg

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

    A small question if someone could kindly answer. As a noob soon to be backend engineer i can't understand how to use nginx and still handle authentication with cookies etc. For example in express i can serve some endpoints only if a user is authenticated, for example an admin panel. How do i achieve this using nginx/apache or any web server. The main reason is to avoid serving static files with express itself which i read is not the recommended way. Thanks in advance and i hope i made myself clear.

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

      What you want to do is implemented in application logic, this doesn't has to do anything with server

    • @osorin_
      @osorin_ 4 ปีที่แล้ว

      Thanks for answering. I get it that it gets handled by the application server but i don't know how to properly combine it with nginx. I didn't find any tutorials doing exactly that, most people do authentication in express and serving files with it.

  • @ben6
    @ben6 3 ปีที่แล้ว

    I am interacting with this video for engagement purposes! God bless Fireship

  • @thenetanel1996
    @thenetanel1996 3 ปีที่แล้ว

    i dont like to learn new stuff but your way of teaching makes it addictive to watch and watch the next vid. great work!! thanks!

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

    I feel like Caddy deserves it's own video as well

  • @Brandon-youtube
    @Brandon-youtube 4 ปีที่แล้ว

    I hope this can save one person many hours some days: NGINX is very picky about underscores in headers!

  • @mvtro
    @mvtro 4 ปีที่แล้ว

    loved the Lost Highway background

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

    You're amazing, I will name my son after your channel.

  • @Alec9821
    @Alec9821 3 ปีที่แล้ว

    I love nginx sooo much, one of the best pieces of software out there. Really cool.

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

    Caddy webserver in 100 seconds could be interesting too :)

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

    Can you do a Beyond 100 seconds video in nginx? Love your content!

  • @LucasSantana-m8f
    @LucasSantana-m8f ปีที่แล้ว

    Totally amazing! Thanks for this ultra mega fast leaning video

  • @spyxx7
    @spyxx7 4 ปีที่แล้ว

    I was looking channer like this very long time, short explanatory videos for apps, im waiting to see more videos from you.

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

    automatically delicious, gets to the meat and potaoes don't forget the beans. Thank you for hard work put in.

  • @salmankazi5308
    @salmankazi5308 4 ปีที่แล้ว

    You Are The Best Brother🥺..Thank You So Much❤️

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

    nginx node js and docker
    you can also use kubernetes ansible terraform openstack
    if you want to automate and create biggg company

  • @osamaa.h.altameemi5592
    @osamaa.h.altameemi5592 4 ปีที่แล้ว +2

    That was really nice intro to the beast but wish if have taken an extra step into its event loop and its request processing model. Keep up the fantastic work. Really loving ur videos

  • @NeptuneOfTheSeas
    @NeptuneOfTheSeas 4 ปีที่แล้ว

    Good to see a man of culture sneaking in a Freakazoid reference

  • @MarkPanado
    @MarkPanado 4 ปีที่แล้ว

    NGINX changed my webdev life

  • @scootergirl3662
    @scootergirl3662 4 ปีที่แล้ว

    You explained in 100 seconds what whole books and 10 minute videos couldn't do.

  • @JoeFromSJersey
    @JoeFromSJersey 8 หลายเดือนก่อน

    Excellent quick summary!

  • @abhilashb13
    @abhilashb13 3 ปีที่แล้ว

    Amazing amazing amazing fireship
    You are lit 🔥

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

    I wish a lot of youtube videos could get as much useful information out as quickly. Good job!

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

    Really informative i really like the way you explain clear thanks

  • @dear.martin
    @dear.martin 2 ปีที่แล้ว

    Great video! Would really appreciate a longer video on this one as well.

  • @ratdn
    @ratdn 3 ปีที่แล้ว

    damn youtube algorithm going mental. Like 2 days ago i had to write a script for a company to change all their vhost_nginx.conf files and now this is in my recommended

  • @GauravSingh-st5sd
    @GauravSingh-st5sd 4 ปีที่แล้ว

    Your content is high quality.

  • @hayatasuenaga969
    @hayatasuenaga969 3 ปีที่แล้ว

    Always love the quality. Thank you

  • @avimehenwal
    @avimehenwal 3 ปีที่แล้ว

    What does a Browser actually do? in 100 seconds plz
    I love your content and videos, they are awesome

  • @severtone263
    @severtone263 10 หลายเดือนก่อน

    Excellent explanation. Thank you

  • @idgaf3959
    @idgaf3959 4 ปีที่แล้ว

    great content for interview preparation

  • @JohnnyPhoenix
    @JohnnyPhoenix 3 ปีที่แล้ว

    SwiftUI in 100 seconds. :)
    Love your content.

  • @jdfjdfsdf8723
    @jdfjdfsdf8723 4 ปีที่แล้ว

    nginx simply the most simple beautiful elegant webserver.

  • @nirnullz
    @nirnullz 3 ปีที่แล้ว

    This is good video, but i think this video missed to explained how nginx can be used to reverse proxy domain name using servername attribute. It’s really basic use case and imo really essential.

  • @meakra5350
    @meakra5350 4 ปีที่แล้ว

    Really nice explanation. Loving your videos very much, Fireship.

  • @lowzhao
    @lowzhao 3 ปีที่แล้ว

    Maybe can consider making a Nginx Unit Explained in 100 Seconds tutorial! its similar to Nginx but is more developer friendly!

  • @irfanbabar8424
    @irfanbabar8424 4 ปีที่แล้ว

    Short and clear explanation 🤟

  • @nick-leffler
    @nick-leffler 3 ปีที่แล้ว

    Just wanted to say thank you so much for your vids.

  • @ddrci88
    @ddrci88 4 ปีที่แล้ว

    I like it but you need to make for varnish cache too ;))

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

    so ngnix is an alternative to appache, right?

  • @thee-legend
    @thee-legend 4 ปีที่แล้ว

    I really love these small but extremely useful videos, I really f**king ❤️ them.....Plz keep making them....😘😘

  • @LostInTech3D
    @LostInTech3D 3 ปีที่แล้ว

    How anyone can downvote this is beyond me!

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

    One question I don’t see addressed is: why Nginx and not Apache? Apache was around before Nginx, and can do much the same things; why is the new guy preferable?

  • @FVT-tn8ji
    @FVT-tn8ji 2 ปีที่แล้ว +2

    I heard it a few times now and I always thought it had something to do with servers and the internet. Thanks to your video I now know what it specifically does. Thanks.

  • @soneomeelse
    @soneomeelse 4 ปีที่แล้ว

    well, if i am making this video, i wont mention those Linux specific paths, also, draw clear boundry between Nginx and webapp or other application instances, serving static files directly from Nginx file system is a very bad example for beginners to learn how Nginx really works. Apart from HTTP, an example of general TCP load balancing config should be given, plus, maybe a bit into those LB policies/implmentations.

  • @arvitech7419
    @arvitech7419 4 ปีที่แล้ว

    You are my biggest inspiration 😍

  • @GlitchyPSI
    @GlitchyPSI 3 ปีที่แล้ว

    NGINX is amazing period

  • @blueguy5588
    @blueguy5588 4 ปีที่แล้ว

    Your content is next level, thank you.

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

    I've been working with Nginx for literally about a year. At my job, not at home, and im still not fully sure of all of its capabilities. Some systems to me make sense. Like docker... docker-compose...apache...
    But Nginx just fucks my brain up.

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

    I use vite and node with express for my server, but i rlly needed the reverse proxy

  • @pro4v
    @pro4v 4 ปีที่แล้ว

    I love these short videos

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

    Please make 100 Sec video on apache also!

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

    Rials is application server software
    It’s not a web sever
    It’s a framework for building all the things
    Anything can be built with Ruby
    Rails is for the web
    Why nginx??
    Load balancing
    Modules
    Apache
    Http2
    /etc
    /tmp
    /var Unix domain sockets
    The os can optimize it
    /
    Labels 🏷️

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

    nginx vs apache ? similarities and differences ?

  • @AaA-g7z2b
    @AaA-g7z2b ปีที่แล้ว +1

    1:27 just hits different now…

  • @Iustin.pericica
    @Iustin.pericica 4 ปีที่แล้ว

    Hello
    What are your thoughts about the future of angular ?

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

    I think you should explain Apache web server and the difference wrt Nginx. Apache is multithreaded which is suitable for CPU bound HTTP requests while Nginx uses a single event loop which is good for IO bound requests.
    If you have mostly static web pages to reserve that does not need huge CPU processing Nginx works well with efficient use of memory.
    But in other cases where heavy processing needs to be done we use Apache.

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

      Agreed; would love a quick explainer on Apache vs Nginx!

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

      @panarigatube lol

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

    A medical student who should be studying bacteria, viruses and plants and animals, is here wondering what's Nginx. I saw it in a piracy app for movies and series.

  • @thekingnoot
    @thekingnoot 4 ปีที่แล้ว

    The misaligned curly brace at 1:23 is killing me

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

    What is proper path for www? In this example, it is /app/www which is unknown to me. Is /var/www good for avoiding permissions issues?

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

    What is the difference between NginX and Express JS? Are they comparable or is this an apple and orange type of comparison?