EC2 deploy DJango application | NGINX | Supervisor | Gunicorn

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

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

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

    I am getting 502 error from nginx 13 permission denied with gunicorn sock

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

    I got 502 bad gateway error after linking nginx.

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

    great explanation, but please try not to call it d + jango, only in India we tend to do this mistake, d is silent, it should be pronounced jango, otherwise it's a great video, thank you :)

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

    whenever i make a change to my files(html or any django file) it doesn't reflect the changes on the server, the files get updated but doesn't change anything unless i need to stop all the process of supervisor then i need to restart it back!

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

    I already have a django project on my local machine. What I did was clone it on the linux server, but I can't see the url where I have the endpoints, nor the /admin when I try to log in, I get a 502 Bad Gateway error - nginx / 1.18.0 (ubuntu)

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

    "../app.sock failed (2: No such file or directory) while connecting to upstream" should i set some permission ??

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

    Facing this error : Bad Gateway error - nginx / 1.18.0 (ubuntu)

  • @asimkhan-ko6ew
    @asimkhan-ko6ew 4 ปีที่แล้ว

    Hi Sir,
    I watched number of videos for deploying Django App serving with Gunicorn, Nginx and supervisor. This is the bestest, simplest & smoothest video I have watched till now. A dumb guy like me got point very clearly. Thanks a lot. Will explore your other videos too. Great Job Sir.

  • @emmanuelattah-azuzu4516
    @emmanuelattah-azuzu4516 3 ปีที่แล้ว

    Great tutorial

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

    It not work . show 502 Bad Gateway in finally !

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

    hello, can you tell me what changes to be done if we also want to handle web socket request, like usinf django channels , redisChannel as backend?

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

    nice video, worked fine for me.

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

    17:24 It is at this point in the video, sudo supervisor status still returns 'FATAL Exited too quickly..
    (Yes, I removed space. ran reread and update commands)
    Then sudo supervsior status, only to see the same error 'FATAL'
    ValueError: '/home/ubuntu/django_deploy_to_ec2' is not a socket
    Advice?

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

      [program:gunicorn]
      environment=PATH="/home/ubuntu/env/bin",VIRTUAL_ENV="/home/ubuntu/env",PYTHONPATH="/home/ubuntu/env/lib/python3.8:/home/ubuntu/env/lib/python3.8/site-packages"

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

      add this to the django.conf so it can read the python env