How to Handle Media on Production

40 views
Skip to first unread message

ramadhan ngallen

unread,
Feb 21, 2021, 5:43:22 AM2/21/21
to 'MH' via Django users
Hello Team. I have created an app that integrated with an Accounting system (sage evolution). Everything works fine on debug mode. But I face a challenge on media files on production. Django app deployed on appache with windows server. How can I handle media files on production. Currently when user attach media files, it doesn't save media on media directory.


What is the best way to use nginx to handle static files, If I wil get tutorial for this please 

ramadhan ngallen

unread,
Feb 21, 2021, 5:43:35 AM2/21/21
to 'MH' via Django users

Ryan Nowakowski

unread,
Feb 21, 2021, 1:58:50 PM2/21/21
to django...@googlegroups.com


On February 21, 2021 4:42:21 AM CST, ramadhan ngallen <ngal...@gmail.com> wrote:
>Hello Team. I have created an app that integrated with an Accounting
>system (sage evolution). Everything works fine on debug mode. But I
>face a challenge on media files on production. Django app deployed on
>appache with windows server. How can I handle media files on
>production. Currently when user attach media files, it doesn't save
>media on media directory.
>

What error are you getting? Traceback?

ramadhan ngallen

unread,
Feb 22, 2021, 1:34:32 AM2/22/21
to 'MH' via Django users
I have managed to fix it by overding virtualhost file.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/16749078-0385-4872-8CF7-D48420579E9D%40fattuba.com.
Reply all
Reply to author
Forward
0 new messages