NGINX Linux Server | Common Configurations

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • NGINX is a lightweight, high-performance web server designed for high-traffic use cases. One of NGINX’s strongest features is the ability to efficiently serve static content such as HTML and media files. This video will familiarize you with basic NGINX parameters and conventions.
    Chapters:
    0:00 - Intro
    1:00 - Starting NGINX
    2:01 - nginx.conf Overview
    7:33 - default.conf Overview
    15:00 - Restarting and Reloading NGINX
    16:49 - Outro
    New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
    Read the doc for more information on configuring NGINX→ www.linode.com/docs/guides/ho...
    Learn how to install NGINX on Ubuntu→ www.linode.com/docs/guides/in...
    Subscribe to get notified of new episodes as they come out → czcams.com/users/linode?sub_co...
    #WebServer #Linode #NGINX #Linux
    Product: Linode, NGINX, Web Server; Jay LaCroix;
  • Věda a technologie

Komentáře • 57

  • @michaelvilain8457
    @michaelvilain8457 Před rokem +8

    These videos, although basic, are quite easy to follow and contain just enough detail to give someone unfamiliar with the topic enough to get started. Most of my experience is with Apache and I've installed nginx as part of a tutorial for another project. It's much easier to deal with than apache, so I looked up one of the Apache vs. Nginx pages and it filled out "Why would I run one over the other?". And it supplemented this video nicely. Very clear and CONCISE instructions.

  • @gregoryturner1505
    @gregoryturner1505 Před 3 lety +18

    Jay, You have advanced Linux by 100 years with your tutorials.

  • @DannyMexen9
    @DannyMexen9 Před 2 lety +1

    Just enforced ssl on my linode running nginx. With every video, I learn something new, add to my tool belt. Thank you.

  • @sevidmusic
    @sevidmusic Před 3 lety +7

    Your videos are a life saver, thank you for all the thorough content : )

  • @gabrielalvarado5347
    @gabrielalvarado5347 Před 3 lety +4

    The mood... The pace... THe quality... Nice vid, keep it going :D

  • @davidjiang7929
    @davidjiang7929 Před 3 lety +12

    I love how you guys are creating these helpful videos. The reason why I will be using Linode over Digital Ocean despite similar product offerings!

    • @zes7215
      @zes7215 Před 2 lety

      no scuh thign as sufferx or slowx or abx or etc, ceuxyuax, think, say, do any nmw and any s perfx

  • @hephaestuslakan3774
    @hephaestuslakan3774 Před 9 měsíci

    That was pretty clear and concise, I have learned nginx configuration bash shell scripts here.

  • @spidercerdo2534
    @spidercerdo2534 Před 2 lety +2

    I had an issue with certbot that would prevent from getting the certificate deployed correctly. the error would point to a server block issue. I tried several things going to sites-enabled and site-avaliable. but it wasn't untill i changed the default file in conf.d that i got it working. shows how important are this common configurations, thanks man.

  • @kfchenghk
    @kfchenghk Před 2 lety +5

    Thank you. You not just teach us how to do it, but also the reasons behind. It is extremely helpful.

  • @gabrielmasutier
    @gabrielmasutier Před 3 lety

    Thank's very easy to understand, great job

  • @ruicruz8641
    @ruicruz8641 Před 2 lety +4

    Great explanation. From total cluelessness to understanding pretty well what is does, in 20 minutes! Great video! Thanks a lot

  • @diegogonzalezcruz6952
    @diegogonzalezcruz6952 Před 2 lety

    Thank you sir for your class.

  • @MaheshKumar-bg5re
    @MaheshKumar-bg5re Před rokem

    Some important topics are always beyond the scope of any tutorials 🙂

  • @RABWA333
    @RABWA333 Před 2 lety

    Was very helpful, thank you

  • @Drumbum501234
    @Drumbum501234 Před 3 lety

    Love your tutorials

  • @foysalisp
    @foysalisp Před rokem

    Great videos excellent tutorial NGINX learning, I like love it. Thank you so much.

  • @michaels8297
    @michaels8297 Před 3 lety +2

    Awesome! Any possibility for a tutorial with async backend servers like gevent?

  • @asthaitsolutions6042
    @asthaitsolutions6042 Před 2 lety +1

    Nice presentation

  • @FirstLast-hm8oz
    @FirstLast-hm8oz Před 3 lety +1

    I tried with the second location example /blog/ , but it allways starts the / site. What happened here ?

  • @greg6094
    @greg6094 Před 3 lety

    Awesome videos!

  • @AhmadKoudier
    @AhmadKoudier Před 2 lety +1

    the backslash after blog location is considered as security vulnerability :)

  • @gistest1242
    @gistest1242 Před 3 lety

    awsome explain

  • @takshpatel8109
    @takshpatel8109 Před 3 lety

    Thanks for info

  • @LostOnTheLine
    @LostOnTheLine Před rokem +4

    So by "Common Configurations" what you meant is "How to access the Configs" because you didn't actually share any "Common Configurations" & instead just wasted 15 minutes for anyone who finds this by the title >:(

  • @serpantinthewild
    @serpantinthewild Před 3 lety

    life safer, thanks for the tutorial :)

  • @petertremblay3725
    @petertremblay3725 Před 2 lety

    Thank for this but i am still confuse about how to setup my vps since people say i should set it to apache and run nginx as a proxy server but other mention it is better to uninstall apache and just use nginx but they also said that setting up nginx for dynamic content is not very beginner friendly so i am at lost on how to proceed after 2 weeks of reading on the subject!

  • @dixztube
    @dixztube Před 2 lety +1

    sudo nginx -t allows you to test your configuration to see any breaking issues.

  • @KavanMavati
    @KavanMavati Před 2 lety +1

    FYI you should set the worker processes to auto (worker_processes auto;)

  • @rose.infosec
    @rose.infosec Před 2 lety

    your can use nginx -s reload unlike using systemctl ??

  • @ibnelaiq
    @ibnelaiq Před 2 lety

    Thanks man.

  • @BijouBakson
    @BijouBakson Před 2 lety

    Thank you

  • @loveprogramming9085
    @loveprogramming9085 Před 3 lety

    thank you

  • @kelechi_Ebiri
    @kelechi_Ebiri Před 16 dny

    Great video, however, I think the default configuration file has been moved to /etc/nginx/sites-available

  • @AshishKumar-qi5gk
    @AshishKumar-qi5gk Před 3 lety

    Jay, how did you background the nano editor?

    • @AkamaiDeveloper
      @AkamaiDeveloper  Před 3 lety +1

      Hey Ashish, this should help you out in being able to suspend nano stackoverflow.com/questions/16043291/cant-pause-nano-in-terminal

  • @hoatranquang8376
    @hoatranquang8376 Před 7 měsíci

    Dear Akamai Developer,
    I have problems.
    Safari browser can not connect my website. It's only connect pass with 80 port, no connect with 443 port.
    meanwhile, chorme, firefox ...all connect with my website.
    I had tried many methods, but it is fault.
    Please, you and everyone help me.
    Thank you so much

  • @rostranj2504
    @rostranj2504 Před 2 lety

    What's the difference btwn the nginx repository and the ubuntu repository? Is one more up to date than the other? Why did we install through the Nginx repository for this tutorial?

    • @AkamaiDeveloper
      @AkamaiDeveloper  Před 2 lety

      Installing from Nginx directly will give you the most up to date version. This page has more details on different ways to install Nginx www.linode.com/docs/guides/installing-nginx-on-ubuntu-12-04-lts-precise-pangolin/

  • @subho1766
    @subho1766 Před 3 lety

    A little off-topic, but is it a good idea to have root account in production machines?

    • @AkamaiDeveloper
      @AkamaiDeveloper  Před 3 lety +1

      For production machines, security best practices recommend creating a limited user with root privileges. Check out this video for more info czcams.com/video/9lXW0obOGOY/video.html

  • @dhruba59
    @dhruba59 Před 3 lety

    Hi how to enable .htaccess file on nginx ...I have installed amember pro but getting 404 error page
    Any solution??

    • @AkamaiDeveloper
      @AkamaiDeveloper  Před 3 lety

      To best answer this we'll require some more information from you. We can help you out more quickly if you ask your question at our community site www.linode.com/community/questions/

  • @AmirKhan-do4si
    @AmirKhan-do4si Před 2 lety +1

    we can also use auto
    worker_processes auto;

  • @YoungMesrine
    @YoungMesrine Před 3 lety

    I fuck heavy with Linode..real shit✌

  • @programmer9809
    @programmer9809 Před 4 měsíci +1

    👍

  • @kunalchoudharkar3084
    @kunalchoudharkar3084 Před 3 lety

    how we find the top 5 storage partation in size

    • @AkamaiDeveloper
      @AkamaiDeveloper  Před 3 lety

      If you're trying to check disk usage, the command "df -h" might be what you're looking for.

  • @kipchickensout
    @kipchickensout Před 2 lety

    interesting how my default configs etc. look completely different

  • @takshpatel2667
    @takshpatel2667 Před rokem

    👌👌👌👌👌

  • @TheTrekGuy97
    @TheTrekGuy97 Před 2 lety

    Little known fact. the pc behind him at the begining is what 90% of the linodes are run off of.
    good beginers video. reminded me i need to set my err pages.

  • @cptbrncls7050
    @cptbrncls7050 Před rokem

    is your chair broken?

  • @md.mohiuddin
    @md.mohiuddin Před rokem

    Concise tutorial

  • @BeeRich33
    @BeeRich33 Před rokem

    "This site can't be reaches" with 3 vhosts.

  • @tuanlethanh6159
    @tuanlethanh6159 Před rokem

    thank you