NGINX Explained in 100 Seconds

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

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

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

    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 2 ปีที่แล้ว +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 ปีที่แล้ว +3173

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

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

      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 ปีที่แล้ว +48

      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 ปีที่แล้ว +41

      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

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

    Dude make web assembly in 100 seconds !

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

    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 3 ปีที่แล้ว +1

      Agreed

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

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

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

      Yes

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

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

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

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

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

    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 11 หลายเดือนก่อน

      @@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.

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

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

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

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

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

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

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

    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 9 หลายเดือนก่อน

      Dammnn no way you got ddos'ed

    • @Ownage4lif31
      @Ownage4lif31 9 หลายเดือนก่อน +2

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

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

    N=En Gine X Sounds like Elon Musk new upcoming kid name..
    Sorry, I will leave now.

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

      lol, it probably took u 100 seconds to write that :)

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

      @@elmotareal haha

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

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

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

    Amazing! Varnish in 100 seconds would be awesome

  • @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

  • @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

  • @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.

  • @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 3 ปีที่แล้ว +2

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

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

      @@manojo123 yes

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

      @@aureli4nus thanks for the fast reply

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

    Plz Make an in-depth tutorial on nginx

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

      definitly need this one

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

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

  • @Steve-Richter
    @Steve-Richter 4 ปีที่แล้ว +17

    would understand better if NGINX was compared to Apache.

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

      Simpler and lighter and configuration is similar to virtualhosts.

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

      nginx also better in async connection handling (this think was killing apache several years ago, don't know about now)

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

    Please never stop making these, absolute Legend

  • @qasimfareedofficial
    @qasimfareedofficial 6 หลายเดือนก่อน +2

    Explain Apache

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

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

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

    Caddy in 100 seconds please

  • @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

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

    How do I get rid of this crap??! it's blocking my websites!

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

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

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

    Excellent quick summary!

  • @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.

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

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

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

    so ngnix is an alternative to appache, right?

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

    I've been calling it "nnnnGEENX ??" ever since I started my web programming class this semester. Since we're all online, no one has been around to correct my dumbassery. Thank you for doing it before someone made fun of me

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

    Redux in 100 seconds

  • @bugfacedog44
    @bugfacedog44 2 ปีที่แล้ว +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

  • @programador-visual
    @programador-visual 3 ปีที่แล้ว

    hey, I have a no code channel, in portuguese, wanna make a collab? I like the styles of your videos and want to translate it for portuguese.

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

    What's the name of the BG music you used in this video?

  • @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.

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

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

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

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

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

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

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

    Amazing

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

    I need to redo my nginx config lol. It's so overcomplicated with the default config that is provided, and I could probably slim it down quite a bit.

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

    This video deserves a like for explaining things in 100 seconds

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

    HAproxy in 100 seconds Mr. Fireship

  • @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

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

    Please explain the ultimate question of life, universe and everything in 42 seconds

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

    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 🏷️

  • @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

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

    Short clear description of Nginx!

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

    SwiftUI in 100 seconds. :)
    Love your content.

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

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

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

    Still do not understand where to playe my nodejs app... :-/ But I will test that soon I guess :-)

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

    Damn, this is like "The Matrix":
    - Me: I wanna fly an helicopter.
    - Operator: there you go. How to fly an helicopter in 100 seconds.
    DONE

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

    and I am a stupid south east asian pronouncing it like "ngee-nx" wondering why my coworkers are confused

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

    can you make a 100s about sub-domains ,can you also go beyond 100s and explain how you can run two seperate webserver (.NET and Nodejs... etc) with nginx, one being the main domain and the other being the sub domain

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

    Bruh, I love you but hate you... You have just explained NGINX to me better than anyone has ever done, yet it took me this goddamn long to even find a proper explanation! Why is it so hard for people to just explain what a program can do?

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

    Please make Django in 100 seconds!

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

    Does NGINX have a lot of patches? I need a server with lots of patches. A patchy server, if you will. Can NGINX satisfy my requirements?

  • @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?

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

    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.

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

    nginx vs apache ? similarities and differences ?

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

    Is nginx what people use for image filters when a url looks like /w500h500_filter(gradient)/path/to/img.jpg ?

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

    Nice content but this 100 sec videos feels like chit sheets and are for those who already know the terminology. For beginners it's to fast and gets nothing from it.
    Would be batter if you make 8-10 mins videos instead

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

    Make litespeed server in 100 seconds

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

    That fucking 100 second video just randomly answered a question that three hours of google and stack overflow failed to answer. GGWP

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

    Can it make coffee?
    Man, I haven’t configured web servers for years. Apache config files are a special kind of hell.

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

    You don't even need to use google inspection tool to see nginx, just go to any of my websites and you'll most likely will be greeted with "404 nginx" or most likely "500 nginx"

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

    ADC / Load Balancing
    Microservices
    Cloud
    Security
    Web & Mobile Performance
    API Management

  • @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.

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

    Caddy webserver in 100 seconds could be interesting too :)

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

    Хоть я по английски и не понимаю, но в видео было очень понятно объяснено и я понял суть некоторых вещей который в русскоязычных туториалах очень плохо объясняют.
    Спасибо.

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

    The real question is why the hell is it pronounced Engine-X. I've been pronouncing it N-Jinx my entire life.

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

    I am struggling like crazy to use nginx on plesk to serve docker images. Where on earth am I supposed to make the set up while all the documentation online is outdated compared to the web interface?

  • @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?

  • @ultraviolet.catastrophe
    @ultraviolet.catastrophe 2 ปีที่แล้ว

    Engine-X? That's how you pronounce it? All this time I've been saying Nginxee 😂😂😂

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

    11 seconds too long, so terrible

  • @AaA-g7z2b
    @AaA-g7z2b 11 หลายเดือนก่อน +1

    1:27 just hits different now…

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

    I always called it "en jinx" lmao

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

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

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

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

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

    Normal people: going to expensive seminars and trainings to learn basics
    Me:

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

    oh so its not pronounced N-Jinks

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

    The person who created this video is possibly a big fan of Freakazoid. Hi mom!

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

    He doesnt even waste our time with a stupid intro. thank you!

  • @Stewie_official
    @Stewie_official 3 หลายเดือนก่อน

    i understand only 30 second.

  • @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

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

    502 bad gateway moment

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

    Did anyone else tune out the commentary after seeing the closing brace for server had the wrong amount of indentation?

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

    What??? It's engine-x, not N-jinx?

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

      Yes.. they explain it on their website too. N-Gin-X

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

    Should i use nginx with docker or docker will be the root server? I’m still confused

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

    for serving static files only. I'd prefer just using something like s3. no overhead

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

      ^ can confirm. Even just running any OS kernel has overhead.

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

      S3 is slow as molasses when it comes to serving files.

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

    I am new to back end, so how is apache? Any preference or highlight compared to engine X

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

    thanks, just needed to know how to pronounce it, to not sound stupid in a meeting in few minutes, when im about to lie I used it before

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

    If 200 Seconds it will can more understand than this. LOL :)

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

    Can you do a 100 second video for Fresh, Deno's special little boi?

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

    So it's something like Routing? Can anyone explain

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

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

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

    You are missing many features, but assuming you speaking about the open source version

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

    Can anyone tell me where i can learn all this in more detail?

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

    If you have trouble setting up nginx config, look no further than nginx config io