What is WSGI and Why Do You Need Gunicorn and Nginx in Django

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 57

  • @nicocolosso4092
    @nicocolosso4092 6 місяців тому +6

    BE SURE TO ALLOW SSH TRAFFIC WITH UFW AFTER ENABLING IT!
    I got stuck on this for days and couldn't figure out why I was suddenly unable to ssh onto my instance. I hope this saves someone the headache I went through.

  • @arvidj8918
    @arvidj8918 Рік тому +1

    This is the shortest and best of all the Django/WSGI -ones. Very nice job.

  • @statsconchris
    @statsconchris Рік тому +1

    Hi can you help me understand something, so if you use nginx you need gunicorn, but what if i use apache web-sever, i dont need gunicorn anymore because apache includes wsgi? in this correct? thanks

  • @ahtisham6597
    @ahtisham6597 2 роки тому +1

    Very nice. I like the how you made everything as simple as possible in less time. Really impressive.

  • @nateriver8261
    @nateriver8261 3 роки тому +5

    Thanks a lot for your staff) Simple and clear) It helps me a lot to prepare for my interview. Also, would be intersting to see more about design patterns, principles, clean architecture, caching

    • @nateriver8261
      @nateriver8261 3 роки тому +1

      And also would be interesting to know about your interviews expirience in some future articles)

    • @denisorehovsky
      @denisorehovsky  3 роки тому +1

      Hi, Nate. Thanks for some good topic ideas. Will add them to my list :)

    • @nateriver8261
      @nateriver8261 3 роки тому +1

      @@denisorehovsky Thanks) It will help a lot)

  • @mohammadazg4548
    @mohammadazg4548 Рік тому +1

    Thank you for this video

  • @AeroJules
    @AeroJules Рік тому

    Wanted to ask, i do not have a *. wsgi file i only have a wsgi.py file. Thus that command with gunicorn is erroring out. What should i do?

  • @whats_best
    @whats_best 3 роки тому +2

    Very nice explanation, keep it up
    WSGI is an interface than a protocol

  • @atharavhedage3607
    @atharavhedage3607 2 роки тому

    you so good, you deserve 60K subscribers

  • @martinnieva8484
    @martinnieva8484 3 роки тому +2

    This was useful! Thank you :)

  • @pumelelabanca1442
    @pumelelabanca1442 5 місяців тому

    Nice vid bro.

  • @zea7452
    @zea7452 Рік тому

    What is the difference beetween wsgi and gunicorn? And what gunicorn do? What wsgi do? 😢

  • @matzodaiber6762
    @matzodaiber6762 3 роки тому

    Nice video! Exactly what i needed!

  • @tomno09
    @tomno09 2 роки тому

    Very useful video thanks a lot, the one thing I would love have seen is the creation of a systemd service file for gunicorn to start and stop django without stoping nginx for maintenance

  • @ashishverma-mj1kl
    @ashishverma-mj1kl 2 роки тому

    @1:11 how did u customise your terminal?

    • @denisorehovsky
      @denisorehovsky  2 роки тому

      Hi. I use terminator. Here are my settings github.com/denisorehovsky/dotfiles/tree/master/terminator

  • @glitchingcore
    @glitchingcore 2 роки тому

    Thank you for this video. Very useful

  • @premisitgroup-ltd.3070
    @premisitgroup-ltd.3070 2 роки тому

    Great video. Very pedagogic, cleaned and structured.

  • @adityaheart9671
    @adityaheart9671 Рік тому +2

    Please post videos like this

  • @jamesboulger8705
    @jamesboulger8705 Рік тому

    You should really put long-ass url's you feature in your video into your video's description. Thanks so much, the video was very helpful.

  • @Jon-vv6nf
    @Jon-vv6nf 2 роки тому

    I watched this vedio at least 10 times before I got it, but it's really helpful for me, thx

  • @johnvillalovos
    @johnvillalovos 3 роки тому +1

    Good stuff. Thanks a lot!

  • @RaulTavares
    @RaulTavares Рік тому

    Great content! Thanks for sharing.
    As a side note, the background "music" mais it hard to follow the dialog.... :;-)

    • @denisorehovsky
      @denisorehovsky  Рік тому

      Thanks for the feedback. I see a lot of people complaining about it. I will fix it in next videos :)

  • @techhoseki
    @techhoseki Місяць тому

    what the heck is wisgi?

  • @operationfrogurt
    @operationfrogurt 2 роки тому +1

    Great video but BOI! At 6:42, you do NOT need '-rf' on that, you are just deleting a file. That's mad dangerous if you accidentally hit enter and wipe out '/etc' or even '/'. Noobs out there, don't use -rf unless you need to!

  • @work_account
    @work_account 2 роки тому +2

    video starts at 1:10

  • @satyamwarghat1305
    @satyamwarghat1305 6 місяців тому

    Awesome

  • @wiki-infodevelopment3369
    @wiki-infodevelopment3369 2 роки тому

    Very nice tuto, could you make another one with windows?

  • @jkim711
    @jkim711 Рік тому

    nice video

  • @DanielLima97dlcs
    @DanielLima97dlcs 2 роки тому

    Top vídeo!

  • @snawpyy
    @snawpyy Рік тому

    I love janga and joonicorn

  • @BM-uf4pp
    @BM-uf4pp 3 роки тому +5

    Good stuff, though slow down your speech. Also, sometimes the music is louder than you.

  • @open-source-is-the-answer
    @open-source-is-the-answer 3 роки тому +1

    music is little distracting

  • @KirillArtemenko
    @KirillArtemenko 2 роки тому

    Nice explanation, but why are you using proxy_pass instead of uwsgi_pass?

  • @MehrdadMahmoodpoor
    @MehrdadMahmoodpoor 10 місяців тому

    Nice

  • @johnsabini3218
    @johnsabini3218 Рік тому

    video is very good. Good overview. Please refrain from music . It distracts from the content.

  • @Acel-01
    @Acel-01 2 роки тому +1

    6:05

  • @nIrUbU01
    @nIrUbU01 2 роки тому +6

    Things I noticed:
    You are moving around too much, it's really distracting and gives the video a "nervous" energy.
    The music is annoying and distracting. Please get rid of the music... This is not an entertainment video. I want to learn something from it. Not listen to some random ass music track.
    You should try to talk more clearly.
    All of those factors made it difficult for me to focus on the content of the video (i.e. what you are saying).
    But the content itself was good!

  • @BridgesMaud-l8r
    @BridgesMaud-l8r 3 місяці тому

    Grayce Street

  • @omidpaa7970
    @omidpaa7970 2 роки тому +4

    this videio is so much good , but you move alot

  • @Dima-qz4su
    @Dima-qz4su 2 роки тому +1

    you dancing and moving your arms funny

  • @saugatrajbhandari4247
    @saugatrajbhandari4247 3 роки тому +1

    hey, make more videos related to django, cheers

    • @denisorehovsky
      @denisorehovsky  3 роки тому +2

      Hi. Will do. I have plans to cover some advanced django related topics in near future.

    • @saugatrajbhandari4247
      @saugatrajbhandari4247 3 роки тому +2

      @@denisorehovsky waiting for it :)

  • @mrj1997
    @mrj1997 Рік тому

    please don't use background music

  • @reganjones5196
    @reganjones5196 2 роки тому

    I can barely understand your voice, other than that. Good video

  • @pajke4867
    @pajke4867 2 роки тому

    the music is very distracting, otherwise great vid

  • @ViacheslavFomenko
    @ViacheslavFomenko 3 роки тому

    Спасибо, неплохой контент, но уж больно быстро всё )

  • @ianleo3030
    @ianleo3030 Рік тому

    you are awsome but the music is not a good idea when you explain somehting

  • @simbarashemaunga5575
    @simbarashemaunga5575 Рік тому

    Too fast

  • @Jarrod_C
    @Jarrod_C 3 роки тому +1

    It was hard to understand with the accent. I am new to this field and have some knowledge but this was too much.