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.
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.
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.
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.
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
@@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.
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
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
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.
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
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.
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
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
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.
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.
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
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
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.
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?
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.
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.
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.
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 🏷️
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.
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.
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.
but 100s not enough!
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.
Videos
Nice to see one of my favourite content creators on youtube, on a video from another of my favourite content creator on youtube. :D
We love you too for your content :)🤩
Just learned it's pronounced Engine X ... I've been calling it N-Jinx all this time.
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.
we've all been there, I remember ordering an akai (acai) bowl once lol
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
They wanted to name the Server EngineX but the name was already taken. Solution: Name it NGinX and tell people to read EngineX.
Same here lol
This is where the web really gets complicated and scary for me. Awesome explanation as always and now I know atleast something about nginx.
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.
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
@@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.
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
Dammnn no way you got ddos'ed
@@chris-zlrr it wasn't a ddos just site traffic increased and I didn't realize how taxing basic requests are lol
Dude make web assembly in 100 seconds !
hohoho
that's a good challenge
Oooo!!!!! That's a good one!
Yesss
Yes
What he did it lol
Fun fact about this channel if you have watched all 100 seconds vedios series, congratulations you are system designer!
These 100 second videos are great. I watch one and I feel like I've done my work for the day
keep it up, you always amaze me with how much information you fit into these short videos!
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
yeah cool tech and great video left me wanting more as well
How about just one longer tutorial on setting up nginx on linux or wsl, first alone and then combined with apache server?
Agreed
@fireship do a 100 secs + 10 mins on this one
Yes
Please never stop making these, absolute Legend
Finally, a 100 seconds about a topic I know more than the 100 seconds
Just watched this 5 minutes before my backend developer interview. Now I am pro.
hahahaha; doing the same here. Got a technical interview test next week on node.js/backend and so on.
Most videos I watch on 2x speed - Fireship videos I sometimes have to slow to .75x - love the quality content / second on these videos
Nginx is the best piece of software i have seen in decades
I started using Nginx during this lockdown. It's unbelievably fast and easy to use.
you should also explain Apache in 100 seconds
That would only be fair :)
pmuch the same shit but slower compared to nginx
@@h.hristov any proof of concept that is slower?
@@manojo123 yes
@@aureli4nus thanks for the fast reply
1:20 in true NGiNX fashion, you removed a couple of spaces at the first } bracket.
I use this for Kali Linux and Web Development. Thanks.
This video deserves a like for explaining things in 100 seconds
Amazing! Varnish in 100 seconds would be awesome
This series is like flutter widget of the week series. Love those. Keep them coming
That's how all the tutorials and explanatory videos on the internet should look like.
Straight to the point to the perfect tutorial ever. Thank you Fireship :D
i am using nginx for kubernetes apps within a pod. i am happy with it. works great,
Plz Make an in-depth tutorial on nginx
definitly need this one
Short clear description of Nginx!
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.
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
This brings back memories of how much I sucked at configuring nginx with php APIs.
Kudos to who ever is involved in this channel 💪😄👍
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.
You missed that Nginx was developed by Russian developer Igor Sysoev.
Please make a video about caddy. I thibk not enough people know about it.
it's been years since I started fiddling with web stuff... this stuff makes more sense these days.
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
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.
A full video about nginx would be awesome!
Best web development content all around.
The reverse proxy part, I wanted more on that topic - literally the last second lol
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
Cool dude. I am like 12 years old and love your videos. Keep it up !
Besides website Nginx can also be used for email server and video streaming server using RTMP + FFmpeg
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.
What you want to do is implemented in application logic, this doesn't has to do anything with server
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.
I am interacting with this video for engagement purposes! God bless Fireship
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!
I feel like Caddy deserves it's own video as well
I hope this can save one person many hours some days: NGINX is very picky about underscores in headers!
loved the Lost Highway background
You're amazing, I will name my son after your channel.
I love nginx sooo much, one of the best pieces of software out there. Really cool.
Caddy webserver in 100 seconds could be interesting too :)
Can you do a Beyond 100 seconds video in nginx? Love your content!
Totally amazing! Thanks for this ultra mega fast leaning video
I was looking channer like this very long time, short explanatory videos for apps, im waiting to see more videos from you.
automatically delicious, gets to the meat and potaoes don't forget the beans. Thank you for hard work put in.
You Are The Best Brother🥺..Thank You So Much❤️
nginx node js and docker
you can also use kubernetes ansible terraform openstack
if you want to automate and create biggg company
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
Good to see a man of culture sneaking in a Freakazoid reference
NGINX changed my webdev life
You explained in 100 seconds what whole books and 10 minute videos couldn't do.
Excellent quick summary!
Amazing amazing amazing fireship
You are lit 🔥
I wish a lot of youtube videos could get as much useful information out as quickly. Good job!
Really informative i really like the way you explain clear thanks
Great video! Would really appreciate a longer video on this one as well.
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
Your content is high quality.
Always love the quality. Thank you
What does a Browser actually do? in 100 seconds plz
I love your content and videos, they are awesome
Excellent explanation. Thank you
great content for interview preparation
SwiftUI in 100 seconds. :)
Love your content.
nginx simply the most simple beautiful elegant webserver.
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.
Really nice explanation. Loving your videos very much, Fireship.
Maybe can consider making a Nginx Unit Explained in 100 Seconds tutorial! its similar to Nginx but is more developer friendly!
Short and clear explanation 🤟
Just wanted to say thank you so much for your vids.
I like it but you need to make for varnish cache too ;))
so ngnix is an alternative to appache, right?
I really love these small but extremely useful videos, I really f**king ❤️ them.....Plz keep making them....😘😘
How anyone can downvote this is beyond me!
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?
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.
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.
You are my biggest inspiration 😍
NGINX is amazing period
Your content is next level, thank you.
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.
I use vite and node with express for my server, but i rlly needed the reverse proxy
I love these short videos
Please make 100 Sec video on apache also!
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 🏷️
nginx vs apache ? similarities and differences ?
1:27 just hits different now…
Hello
What are your thoughts about the future of angular ?
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.
Agreed; would love a quick explainer on Apache vs Nginx!
@panarigatube lol
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.
The misaligned curly brace at 1:23 is killing me
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?
What is the difference between NginX and Express JS? Are they comparable or is this an apple and orange type of comparison?