HOW TO SECURE MEDIA FILES IN DJANGO || TUTORIAL

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 8

  • @muruganraja9
    @muruganraja9 3 года назад +2

    Thanks bro... nice explanation

  • @pujanrajrai4930
    @pujanrajrai4930 2 года назад

    thanks bro. keep uploading❤

  • @khumendrasinha506
    @khumendrasinha506 3 года назад

    Nice explaination

  • @hankreacts627
    @hankreacts627 2 года назад

    nice vid

  • @evertonalex2614
    @evertonalex2614 Год назад

    ok

  • @tuktukautos6070
    @tuktukautos6070 2 года назад

    I did the same thing but it is not working on django server
    Nginx with gunicorn

    • @pujanrai159
      @pujanrai159 Год назад

      hi tuktuk. i am facing same issue. how did you solve this issue?

    • @advation
      @advation 9 месяцев назад

      This is most likely happening because Nginx is the web server that is hosting the media files. If you have your Django media directory assigned to a static assignment within your Nginx config, Nginx will have access to the file directory and serve the file before your Django application sees the request. Same issue will occur when using Apache2.